#A8A239#A8A239
#A8A239 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.125 H 106.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A239 |
|---|---|
| RGB | rgb(168, 162, 57) |
| HSL | hsl(57, 49%, 44%) |
| HSV | hsv(57, 66%, 66%) |
| CMYK | cmyk(0%, 3.6%, 66.1%, 34.1%) |
| CIE-LAB | lab(65.33, -10.84, 53.25) |
| CIE-LCH | lch(65.33, 54.35, 101.51°) |
| OKLab | oklab(69.74% -0.0346 0.1202) |
| OKLCH | oklch(69.74% 0.125 106.1) |
| XYZ | xyz(29.8084, 34.4619, 8.9517) |
| Luminance | 0.3446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.61
Puke
#A5A502
ΔE00 4.15
Pea Soup
#929901
ΔE00 5.65
Khaki (survey)
#AAA662
ΔE00 6.06
Baby Poop Green
#8F9805
ΔE00 6.12
Pea Soup Green
#94A617
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A239 #393FA8
analogous
#A86B39 #A8A239 #77A839
triadic
#A8A239 #39A8A2 #A239A8
tetradic
#A8A239 #39A86B #393FA8 #A83977
square
#A8A239 #39A86B #393FA8 #A83977
split-complementary
#A8A239 #3977A8 #6B39A8
monochromatic
#4D4A1A #7A7629 #A8A239 #C6C058 #D6D186
Accessibility & contrast
On white
2.66
#A8A239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#A8A239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A239
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A239 | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C2B
Deuteranopia (green-blind)
#B2A140
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a8a239; /* rgb */ color: rgb(168, 162, 57); /* oklch */ color: oklch(69.7% 0.125 106.1);
Tailwind
colors: {
custom: {
50: '#c5bd75',
500: '#a8a239',
950: '#000000',
},
}SCSS
$custom: #a8a239; $custom-light: #c5bd75; $custom-dark: #000000;
JSON
{
"hex": "#a8a239",
"rgb": {
"r": 168,
"g": 162,
"b": 57
},
"hsl": {
"h": 56.757,
"s": 49.333,
"l": 44.118
},
"oklch": {
"l": 0.69737,
"c": 0.12502,
"h": 106.1
},
"luminance": 0.34461
}Semantic roles & 50–950 ramp
primary
#A8A239
secondary
#7D81C0
accent
#56D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B