#A8A71E#A8A71E
#A8A71E is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.146 H 109.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A71E |
|---|---|
| RGB | rgb(168, 167, 30) |
| HSL | hsl(60, 70%, 39%) |
| HSV | hsv(60, 82%, 66%) |
| CMYK | cmyk(0%, 0.6%, 82.1%, 34.1%) |
| CIE-LAB | lab(66.56, -14.68, 63.80) |
| CIE-LCH | lch(66.56, 65.47, 102.96°) |
| OKLab | oklab(70.67% -0.0478 0.1377) |
| OKLCH | oklch(70.67% 0.146 109.2) |
| XYZ | xyz(30.2027, 36.0570, 6.5968) |
| Luminance | 0.3606 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 1.27
Vomit
#A2A415
ΔE00 1.32
Mustard Green
#A8B504
ΔE00 4.77
Pea Soup Green
#94A617
ΔE00 4.81
Puke Green
#9AAE07
ΔE00 4.92
Pea Soup
#929901
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A71E #1E1FA8
analogous
#A8621E #A8A71E #64A81E
triadic
#A8A71E #1EA8A7 #A71EA8
tetradic
#A8A71E #1EA862 #1E1FA8 #A81E64
square
#A8A71E #1EA862 #1E1FA8 #A81E64
split-complementary
#A8A71E #1E64A8 #621EA8
monochromatic
#40400B #747315 #A8A71E #D9D82A #E2E15E
Accessibility & contrast
On white
2.56
#A8A71E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#A8A71E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A71E
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A71E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A71E | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B7A42B
Tritanopia (blue-blind)
#B59C8F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a8a71e; /* rgb */ color: rgb(168, 167, 30); /* oklch */ color: oklch(70.7% 0.146 109.2);
Tailwind
colors: {
custom: {
50: '#c6c069',
500: '#a8a71e',
950: '#000000',
},
}SCSS
$custom: #a8a71e; $custom-light: #c6c069; $custom-dark: #000000;
JSON
{
"hex": "#a8a71e",
"rgb": {
"r": 168,
"g": 167,
"b": 30
},
"hsl": {
"h": 59.565,
"s": 69.697,
"l": 38.824
},
"oklch": {
"l": 0.70673,
"c": 0.14572,
"h": 109.2
},
"luminance": 0.36056
}Semantic roles & 50–950 ramp
primary
#A8A71E
secondary
#5B5CC7
accent
#3DED3B
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#131207
muted
#82817A