#A7A22E#A7A22E
#A7A22E is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.133 H 106.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A22E |
|---|---|
| RGB | rgb(167, 162, 46) |
| HSL | hsl(58, 57%, 42%) |
| HSV | hsv(58, 72%, 65%) |
| CMYK | cmyk(0%, 3%, 72.5%, 34.5%) |
| CIE-LAB | lab(65.16, -11.89, 57.41) |
| CIE-LCH | lch(65.16, 58.63, 101.70°) |
| OKLab | oklab(69.56% -0.0386 0.127) |
| OKLCH | oklch(69.56% 0.133 106.9) |
| XYZ | xyz(29.3510, 34.2544, 7.6499) |
| Luminance | 0.3425 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.52
Puke
#A5A502
ΔE00 2.98
Pea Soup
#929901
ΔE00 4.94
Baby Poop Green
#8F9805
ΔE00 5.51
Pea Soup Green
#94A617
ΔE00 5.69
Muddy Yellow
#BFAC05
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A22E #2E33A7
analogous
#A7662E #A7A22E #70A72E
triadic
#A7A22E #2EA7A2 #A22EA7
tetradic
#A7A22E #2EA766 #2E33A7 #A72E70
square
#A7A22E #2EA766 #2E33A7 #A72E70
split-complementary
#A7A22E #2E70A7 #662EA7
monochromatic
#474514 #777321 #A7A22E #CCC746 #D9D576
Accessibility & contrast
On white
2.67
#A7A22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#A7A22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A22E
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A22E | 1.00 | 2.67 | 7.85 | 7.85 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C19
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#B3978B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a7a22e; /* rgb */ color: rgb(167, 162, 46); /* oklch */ color: oklch(69.6% 0.133 106.9);
Tailwind
colors: {
custom: {
50: '#c5bd6f',
500: '#a7a22e',
950: '#000000',
},
}SCSS
$custom: #a7a22e; $custom-light: #c5bd6f; $custom-dark: #000000;
JSON
{
"hex": "#a7a22e",
"rgb": {
"r": 167,
"g": 162,
"b": 46
},
"hsl": {
"h": 57.521,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.69561,
"c": 0.13278,
"h": 106.9
},
"luminance": 0.34253
}Semantic roles & 50–950 ramp
primary
#A7A22E
secondary
#7073C1
accent
#4EE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B