#A8A72E#A8A72E
#A8A72E is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.138 H 109.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A72E |
|---|---|
| RGB | rgb(168, 167, 46) |
| HSL | hsl(60, 57%, 42%) |
| HSV | hsv(60, 73%, 66%) |
| CMYK | cmyk(0%, 0.6%, 72.6%, 34.1%) |
| CIE-LAB | lab(66.64, -14.05, 58.86) |
| CIE-LCH | lch(66.64, 60.52, 103.42°) |
| OKLab | oklab(70.76% -0.0447 0.1301) |
| OKLCH | oklch(70.76% 0.138 109) |
| XYZ | xyz(30.4614, 36.1605, 7.9593) |
| Luminance | 0.3616 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.98
Puke
#A5A502
ΔE00 2.49
Pea Soup Green
#94A617
ΔE00 4.77
Puke Green
#9AAE07
ΔE00 5.17
Mustard Green
#A8B504
ΔE00 5.26
Pea Soup
#929901
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A72E #2E2FA8
analogous
#A86A2E #A8A72E #6CA82E
triadic
#A8A72E #2EA8A7 #A72EA8
tetradic
#A8A72E #2EA86A #2E2FA8 #A82E6C
square
#A8A72E #2EA86A #2E2FA8 #A82E6C
split-complementary
#A8A72E #2E6CA8 #6A2EA8
monochromatic
#484714 #787721 #A8A72E #CDCB47 #DAD977
Accessibility & contrast
On white
2.55
#A8A72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#A8A72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A72E
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A72E | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A017
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#B49C90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a8a72e; /* rgb */ color: rgb(168, 167, 46); /* oklch */ color: oklch(70.8% 0.138 109.0);
Tailwind
colors: {
custom: {
50: '#c5c070',
500: '#a8a72e',
950: '#000000',
},
}SCSS
$custom: #a8a72e; $custom-light: #c5c070; $custom-dark: #000000;
JSON
{
"hex": "#a8a72e",
"rgb": {
"r": 168,
"g": 167,
"b": 46
},
"hsl": {
"h": 59.508,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.70761,
"c": 0.13756,
"h": 109
},
"luminance": 0.3616
}Semantic roles & 50–950 ramp
primary
#A8A72E
secondary
#7071C2
accent
#49E048
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B