#A8A74E#A8A74E
#A8A74E is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.1% C 0.112 H 108.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A74E |
|---|---|
| RGB | rgb(168, 167, 78) |
| HSL | hsl(59, 37%, 48%) |
| HSV | hsv(59, 54%, 66%) |
| CMYK | cmyk(0%, 0.6%, 53.6%, 34.1%) |
| CIE-LAB | lab(66.91, -11.93, 45.48) |
| CIE-LCH | lch(66.91, 47.02, 104.70°) |
| OKLab | oklab(71.06% -0.0353 0.1064) |
| OKLCH | oklch(71.06% 0.112 108.4) |
| XYZ | xyz(31.3431, 36.5131, 12.6029) |
| Luminance | 0.3651 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.63
Darkkhaki
#BDB76B
ΔE00 5.59
Vomit
#A2A415
ΔE00 5.68
Puke
#A5A502
ΔE00 6.43
Pea Soup Green
#94A617
ΔE00 6.72
Booger
#9BB53C
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A74E #4E4FA8
analogous
#A87A4E #A8A74E #7CA84E
triadic
#A8A74E #4EA8A7 #A74EA8
tetradic
#A8A74E #4EA87A #4E4FA8 #A84E7C
square
#A8A74E #4EA87A #4E4FA8 #A84E7C
split-complementary
#A8A74E #4E7CA8 #7A4EA8
monochromatic
#545427 #7E7D3B #A8A74E #BFBE75 #D2D29E
Accessibility & contrast
On white
2.53
#A8A74E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#A8A74E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A74E
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A74E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A74E | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A145
Deuteranopia (green-blind)
#B4A453
Tritanopia (blue-blind)
#B39E93
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a8a74e; /* rgb */ color: rgb(168, 167, 78); /* oklch */ color: oklch(71.1% 0.112 108.4);
Tailwind
colors: {
custom: {
50: '#c4c182',
500: '#a8a74e',
950: '#000000',
},
}SCSS
$custom: #a8a74e; $custom-light: #c4c182; $custom-dark: #000000;
JSON
{
"hex": "#a8a74e",
"rgb": {
"r": 168,
"g": 167,
"b": 78
},
"hsl": {
"h": 59.333,
"s": 36.585,
"l": 48.235
},
"oklch": {
"l": 0.71061,
"c": 0.11212,
"h": 108.4
},
"luminance": 0.36512
}Semantic roles & 50–950 ramp
primary
#A8A74E
secondary
#9393BF
accent
#5CCD5B
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C