#A7A231#A7A231
#A7A231 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.131 H 106.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A231 |
|---|---|
| RGB | rgb(167, 162, 49) |
| HSL | hsl(57, 55%, 42%) |
| HSV | hsv(57, 71%, 65%) |
| CMYK | cmyk(0%, 3%, 70.7%, 34.5%) |
| CIE-LAB | lab(65.18, -11.73, 56.30) |
| CIE-LCH | lch(65.18, 57.51, 101.77°) |
| OKLab | oklab(69.58% -0.0379 0.1252) |
| OKLCH | oklch(69.58% 0.131 106.8) |
| XYZ | xyz(29.4122, 34.2789, 7.9723) |
| Luminance | 0.3428 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.75
Puke
#A5A502
ΔE00 3.26
Pea Soup
#929901
ΔE00 5.05
Baby Poop Green
#8F9805
ΔE00 5.59
Pea Soup Green
#94A617
ΔE00 5.75
Muddy Yellow
#BFAC05
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A231 #3136A7
analogous
#A76731 #A7A231 #71A731
triadic
#A7A231 #31A7A2 #A231A7
tetradic
#A7A231 #31A767 #3136A7 #A73171
square
#A7A231 #31A767 #3136A7 #A73171
split-complementary
#A7A231 #3171A7 #6731A7
monochromatic
#484615 #787423 #A7A231 #CAC54B #D8D47A
Accessibility & contrast
On white
2.67
#A7A231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#A7A231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A231
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A231 | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C1F
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#B3978C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a7a231; /* rgb */ color: rgb(167, 162, 49); /* oklch */ color: oklch(69.6% 0.131 106.8);
Tailwind
colors: {
custom: {
50: '#c4bd71',
500: '#a7a231',
950: '#000000',
},
}SCSS
$custom: #a7a231; $custom-light: #c4bd71; $custom-dark: #000000;
JSON
{
"hex": "#a7a231",
"rgb": {
"r": 167,
"g": 162,
"b": 49
},
"hsl": {
"h": 57.458,
"s": 54.63,
"l": 42.353
},
"oklch": {
"l": 0.69583,
"c": 0.13084,
"h": 106.8
},
"luminance": 0.34278
}Semantic roles & 50–950 ramp
primary
#A7A231
secondary
#7377C1
accent
#50DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B