#A8A237#A8A237
#A8A237 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.127 H 106.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A237 |
|---|---|
| RGB | rgb(168, 162, 55) |
| HSL | hsl(57, 51%, 44%) |
| HSV | hsv(57, 67%, 66%) |
| CMYK | cmyk(0%, 3.6%, 67.3%, 34.1%) |
| CIE-LAB | lab(65.31, -10.96, 54.07) |
| CIE-LCH | lch(65.31, 55.17, 101.46°) |
| OKLab | oklab(69.72% -0.0351 0.1215) |
| OKLCH | oklch(69.72% 0.127 106.1) |
| XYZ | xyz(29.7595, 34.4424, 8.6941) |
| Luminance | 0.3444 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.41
Puke
#A5A502
ΔE00 3.93
Pea Soup
#929901
ΔE00 5.53
Baby Poop Green
#8F9805
ΔE00 6.02
Pea Soup Green
#94A617
ΔE00 6.19
Khaki (survey)
#AAA662
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A237 #373DA8
analogous
#A86937 #A8A237 #75A837
triadic
#A8A237 #37A8A2 #A237A8
tetradic
#A8A237 #37A869 #373DA8 #A83775
square
#A8A237 #37A869 #373DA8 #A83775
split-complementary
#A8A237 #3775A8 #6937A8
monochromatic
#4C4919 #7A7628 #A8A237 #C7C155 #D6D283
Accessibility & contrast
On white
2.66
#A8A237 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#A8A237 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A237
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A237 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A237 | 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)
#B09C28
Deuteranopia (green-blind)
#B2A13E
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a8a237; /* rgb */ color: rgb(168, 162, 55); /* oklch */ color: oklch(69.7% 0.127 106.1);
Tailwind
colors: {
custom: {
50: '#c5bd74',
500: '#a8a237',
950: '#000000',
},
}SCSS
$custom: #a8a237; $custom-light: #c5bd74; $custom-dark: #000000;
JSON
{
"hex": "#a8a237",
"rgb": {
"r": 168,
"g": 162,
"b": 55
},
"hsl": {
"h": 56.814,
"s": 50.673,
"l": 43.725
},
"oklch": {
"l": 0.6972,
"c": 0.12652,
"h": 106.1
},
"luminance": 0.34441
}Semantic roles & 50–950 ramp
primary
#A8A237
secondary
#7B7EC0
accent
#55DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B