#A7A239#A7A239
#A7A239 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.125 H 106.6°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A239 |
|---|---|
| RGB | rgb(167, 162, 57) |
| HSL | hsl(57, 49%, 44%) |
| HSV | hsv(57, 66%, 65%) |
| CMYK | cmyk(0%, 3%, 65.9%, 34.5%) |
| CIE-LAB | lab(65.24, -11.28, 53.14) |
| CIE-LCH | lch(65.24, 54.32, 101.98°) |
| OKLab | oklab(69.65% -0.0357 0.1199) |
| OKLCH | oklch(69.65% 0.125 106.6) |
| XYZ | xyz(29.5963, 34.3525, 8.9418) |
| Luminance | 0.3435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.50
Puke
#A5A502
ΔE00 4.11
Pea Soup
#929901
ΔE00 5.48
Baby Poop Green
#8F9805
ΔE00 5.93
Pea Soup Green
#94A617
ΔE00 6.03
Khaki (survey)
#AAA662
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A239 #393EA7
analogous
#A76B39 #A7A239 #75A739
triadic
#A7A239 #39A7A2 #A239A7
tetradic
#A7A239 #39A76B #393EA7 #A73975
square
#A7A239 #39A76B #393EA7 #A73975
split-complementary
#A7A239 #3975A7 #6B39A7
monochromatic
#4C491A #797629 #A7A239 #C6C157 #D5D285
Accessibility & contrast
On white
2.67
#A7A239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#A7A239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A239
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A239 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9C2B
Deuteranopia (green-blind)
#B2A040
Tritanopia (blue-blind)
#B3988C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a7a239; /* rgb */ color: rgb(167, 162, 57); /* oklch */ color: oklch(69.6% 0.125 106.6);
Tailwind
colors: {
custom: {
50: '#c4bd75',
500: '#a7a239',
950: '#000000',
},
}SCSS
$custom: #a7a239; $custom-light: #c4bd75; $custom-dark: #000000;
JSON
{
"hex": "#a7a239",
"rgb": {
"r": 167,
"g": 162,
"b": 57
},
"hsl": {
"h": 57.273,
"s": 49.107,
"l": 43.922
},
"oklch": {
"l": 0.69647,
"c": 0.12514,
"h": 106.6
},
"luminance": 0.34352
}Semantic roles & 50–950 ramp
primary
#A7A239
secondary
#7D80BF
accent
#55D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B