#A8A431#A8A431
#A8A431 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.133 H 107.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A431 |
|---|---|
| RGB | rgb(168, 164, 49) |
| HSL | hsl(58, 55%, 43%) |
| HSV | hsv(58, 71%, 66%) |
| CMYK | cmyk(0%, 2.4%, 70.8%, 34.1%) |
| CIE-LAB | lab(65.83, -12.34, 56.96) |
| CIE-LCH | lch(65.83, 58.28, 102.22°) |
| OKLab | oklab(70.12% -0.0396 0.1266) |
| OKLCH | oklch(70.12% 0.133 107.4) |
| XYZ | xyz(29.9794, 35.0985, 8.1006) |
| Luminance | 0.3510 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.48
Puke
#A5A502
ΔE00 2.97
Pea Soup
#929901
ΔE00 5.25
Pea Soup Green
#94A617
ΔE00 5.48
Baby Poop Green
#8F9805
ΔE00 5.79
Puke Green
#9AAE07
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A431 #3135A8
analogous
#A86831 #A8A431 #71A831
triadic
#A8A431 #31A8A4 #A431A8
tetradic
#A8A431 #31A868 #3135A8 #A83171
square
#A8A431 #31A868 #3135A8 #A83171
split-complementary
#A8A431 #3171A8 #6831A8
monochromatic
#494715 #797623 #A8A431 #CBC64C #D8D57B
Accessibility & contrast
On white
2.62
#A8A431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#A8A431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A431
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A431 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E1E
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#B4998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a8a431; /* rgb */ color: rgb(168, 164, 49); /* oklch */ color: oklch(70.1% 0.133 107.4);
Tailwind
colors: {
custom: {
50: '#c5be71',
500: '#a8a431',
950: '#000000',
},
}SCSS
$custom: #a8a431; $custom-light: #c5be71; $custom-dark: #000000;
JSON
{
"hex": "#a8a431",
"rgb": {
"r": 168,
"g": 164,
"b": 49
},
"hsl": {
"h": 57.983,
"s": 54.839,
"l": 42.549
},
"oklch": {
"l": 0.70115,
"c": 0.13266,
"h": 107.4
},
"luminance": 0.35098
}Semantic roles & 50–950 ramp
primary
#A8A431
secondary
#7476C1
accent
#4FDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B