#A5A239#A5A239
#A5A239 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.125 H 107.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A239 |
|---|---|
| RGB | rgb(165, 162, 57) |
| HSL | hsl(58, 49%, 44%) |
| HSV | hsv(58, 65%, 65%) |
| CMYK | cmyk(0%, 1.8%, 65.5%, 35.3%) |
| CIE-LAB | lab(65.07, -12.15, 52.91) |
| CIE-LCH | lch(65.07, 54.29, 102.94°) |
| OKLab | oklab(69.47% -0.0381 0.1195) |
| OKLCH | oklch(69.47% 0.125 107.7) |
| XYZ | xyz(29.1769, 34.1363, 8.9221) |
| Luminance | 0.3413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.35
Puke
#A5A502
ΔE00 4.10
Pea Soup
#929901
ΔE00 5.17
Pea Soup Green
#94A617
ΔE00 5.55
Baby Poop Green
#8F9805
ΔE00 5.58
Khaki (survey)
#AAA662
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A239 #393CA5
analogous
#A56C39 #A5A239 #72A539
triadic
#A5A239 #39A5A2 #A239A5
tetradic
#A5A239 #39A56C #393CA5 #A53972
square
#A5A239 #39A56C #393CA5 #A53972
split-complementary
#A5A239 #3972A5 #6C39A5
monochromatic
#4A491A #787529 #A5A239 #C5C256 #D4D284
Accessibility & contrast
On white
2.68
#A5A239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#A5A239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A239
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A239 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9C2B
Deuteranopia (green-blind)
#B1A040
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a239; /* rgb */ color: rgb(165, 162, 57); /* oklch */ color: oklch(69.5% 0.125 107.7);
Tailwind
colors: {
custom: {
50: '#c3bd75',
500: '#a5a239',
950: '#000000',
},
}SCSS
$custom: #a5a239; $custom-light: #c3bd75; $custom-dark: #000000;
JSON
{
"hex": "#a5a239",
"rgb": {
"r": 165,
"g": 162,
"b": 57
},
"hsl": {
"h": 58.333,
"s": 48.649,
"l": 43.529
},
"oklch": {
"l": 0.6947,
"c": 0.12542,
"h": 107.7
},
"luminance": 0.34135
}Semantic roles & 50–950 ramp
primary
#A5A239
secondary
#7B7DBE
accent
#53D850
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B