#A8A72B#A8A72B
#A8A72B is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.139 H 109.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A72B |
|---|---|
| RGB | rgb(168, 167, 43) |
| HSL | hsl(60, 59%, 41%) |
| HSV | hsv(60, 74%, 66%) |
| CMYK | cmyk(0%, 0.6%, 74.4%, 34.1%) |
| CIE-LAB | lab(66.62, -14.19, 59.90) |
| CIE-LCH | lch(66.62, 61.56, 103.33°) |
| OKLab | oklab(70.74% -0.0454 0.1317) |
| OKLCH | oklch(70.74% 0.139 109) |
| XYZ | xyz(30.4043, 36.1376, 7.6587) |
| Luminance | 0.3614 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.78
Puke
#A5A502
ΔE00 2.22
Pea Soup Green
#94A617
ΔE00 4.74
Puke Green
#9AAE07
ΔE00 5.09
Mustard Green
#A8B504
ΔE00 5.13
Pea Soup
#929901
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A72B #2B2CA8
analogous
#A8692B #A8A72B #6BA82B
triadic
#A8A72B #2BA8A7 #A72BA8
tetradic
#A8A72B #2BA869 #2B2CA8 #A82B6B
square
#A8A72B #2BA869 #2B2CA8 #A82B6B
split-complementary
#A8A72B #2B6BA8 #692BA8
monochromatic
#474612 #77771F #A8A72B #CFCD42 #DBDA72
Accessibility & contrast
On white
2.55
#A8A72B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#A8A72B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A72B
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A72B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A72B | 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)
#B5A010
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#B49C8F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a8a72b; /* rgb */ color: rgb(168, 167, 43); /* oklch */ color: oklch(70.7% 0.139 109.0);
Tailwind
colors: {
custom: {
50: '#c5c06e',
500: '#a8a72b',
950: '#000000',
},
}SCSS
$custom: #a8a72b; $custom-light: #c5c06e; $custom-dark: #000000;
JSON
{
"hex": "#a8a72b",
"rgb": {
"r": 168,
"g": 167,
"b": 43
},
"hsl": {
"h": 59.52,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.70742,
"c": 0.13932,
"h": 109
},
"luminance": 0.36137
}Semantic roles & 50–950 ramp
primary
#A8A72B
secondary
#6C6DC2
accent
#47E245
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B