#A8A462

#a8a462 ≈ Dark Khaki

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#a8a462 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 65.88% red, 64.31% green and 38.43% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 41.67% yellow and 34.12% black. Its hue angle is 56.57°, with 28.69% saturation and 52.16% lightness in HSL. It is a warm 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 8.15:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.73.

Description generated from the measured properties of this color.

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

Readable text 2.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a1a1a1 ≈ 0.003% of males
Achromatomaly #a4a28c ≈ 0.001% of males
Protanopia #ae9f5d ≈ 1.01% of males
Deuteranopia #b0a365 ≈ 1.27% of males
Tritanopia #b19c94 ≈ 0.0001% of males
Protanomaly #aca15f ≈ 1.08% of males
Deuteranomaly #ada364 ≈ 4.63% of males
Tritanomaly #ae9f83 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a8a462 {
  color: #a8a462;
}
Background
.bg-a8a462 {
  background-color: #a8a462;
  color: #000000;
}
Border
.border-a8a462 {
  border: 2px solid #a8a462;
}
CSS variables
:root {
  --color-primary: #a8a462;
  --color-primary-rgb: 168 164 98;
  --color-primary-hsl: 57 29% 52%;
}
Gradient
.gradient-a8a462 {
  background: linear-gradient(135deg, #a8a462, #89a862);
}
Colored shadow
.shadow-a8a462 {
  box-shadow: 0 8px 24px rgb(168 164 98 / 0.35);
}

Dark Khaki
#a8a462  rgb(168, 164, 98)  hsl(57, 29%, 52%)  Dark Khaki
#6266a8  rgb(98, 102, 168)  hsl(237, 29%, 52%)  Slate Blue
#62a8a4  rgb(98, 168, 164)  hsl(177, 29%, 52%)  Cadet Blue
#a462a8  rgb(164, 98, 168)  hsl(297, 29%, 52%)  Purpureus