#797662

#797662 ≈ Battleship Gray

  • yellow
  • Lightness: medium
  • Saturation: almost no
  • Neutral

#797662 is a color from the yellow family, with medium lightness and almost no saturation. In the RGB model it is made of 47.45% red, 46.27% green and 38.43% blue; printed in CMYK it uses 0% cyan, 2.48% magenta, 19.01% yellow and 52.55% black. Its hue angle is 52.17°, with 10.5% saturation and 42.94% lightness in HSL. It is a neutral color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 4.58:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 10.08.

Description generated from the measured properties of this color.

Conversions of #797662 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#666666
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.179

Readable text 4.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #77766e ≈ 0.001% of males
Protanopia #7a7561 ≈ 1.01% of males
Deuteranopia #7b7663 ≈ 1.27% of males
Tritanopia #7d7370 ≈ 0.0001% of males
Protanomaly #7a7561 ≈ 1.08% of males
Deuteranomaly #7a7662 ≈ 4.63% of males
Tritanomaly #7b746b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797662 {
  color: #797662;
}
Background
.bg-797662 {
  background-color: #797662;
  color: #000000;
}
Border
.border-797662 {
  border: 2px solid #797662;
}
CSS variables
:root {
  --color-primary: #797662;
  --color-primary-rgb: 121 118 98;
  --color-primary-hsl: 52 11% 43%;
}
Gradient
.gradient-797662 {
  background: linear-gradient(135deg, #797662, #707962);
}
Colored shadow
.shadow-797662 {
  box-shadow: 0 8px 24px rgb(121 118 98 / 0.35);
}

Battleship Gray
#797662  rgb(121, 118, 98)  hsl(52, 11%, 43%)  Battleship Gray
#626579  rgb(98, 101, 121)  hsl(232, 11%, 43%)  Old Lavender
#627976  rgb(98, 121, 118)  hsl(172, 11%, 43%)  Xanadu
#766279  rgb(118, 98, 121)  hsl(292, 11%, 43%)  Old Lavender