#A6A22F#A6A22F
#A6A22F is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.5% C 0.132 H 107.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A22F |
|---|---|
| RGB | rgb(166, 162, 47) |
| HSL | hsl(58, 56%, 42%) |
| HSV | hsv(58, 72%, 65%) |
| CMYK | cmyk(0%, 2.4%, 71.7%, 34.9%) |
| CIE-LAB | lab(65.08, -12.28, 56.93) |
| CIE-LCH | lch(65.08, 58.24, 102.17°) |
| OKLab | oklab(69.48% -0.0395 0.1263) |
| OKLCH | oklch(69.48% 0.132 107.4) |
| XYZ | xyz(29.1604, 34.1539, 7.7451) |
| Luminance | 0.3415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.45
Puke
#A5A502
ΔE00 3.03
Pea Soup
#929901
ΔE00 4.79
Baby Poop Green
#8F9805
ΔE00 5.33
Pea Soup Green
#94A617
ΔE00 5.44
Puke Green
#9AAE07
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A22F #2F33A6
analogous
#A6672F #A6A22F #6FA62F
triadic
#A6A22F #2FA6A2 #A22FA6
tetradic
#A6A22F #2FA667 #2F33A6 #A62F6F
square
#A6A22F #2FA667 #2F33A6 #A62F6F
split-complementary
#A6A22F #2F6FA6 #672FA6
monochromatic
#474514 #767321 #A6A22F #CBC747 #D8D577
Accessibility & contrast
On white
2.68
#A6A22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#A6A22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A22F
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A22F | 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)
#B09C1B
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#B2978C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a6a22f; /* rgb */ color: rgb(166, 162, 47); /* oklch */ color: oklch(69.5% 0.132 107.4);
Tailwind
colors: {
custom: {
50: '#c4bd6f',
500: '#a6a22f',
950: '#000000',
},
}SCSS
$custom: #a6a22f; $custom-light: #c4bd6f; $custom-dark: #000000;
JSON
{
"hex": "#a6a22f",
"rgb": {
"r": 166,
"g": 162,
"b": 47
},
"hsl": {
"h": 57.983,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.69479,
"c": 0.1323,
"h": 107.4
},
"luminance": 0.34153
}Semantic roles & 50–950 ramp
primary
#A6A22F
secondary
#7073C1
accent
#4EDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B