#A6A22A#A6A22A
#A6A22A is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.135 H 107.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A22A |
|---|---|
| RGB | rgb(166, 162, 42) |
| HSL | hsl(58, 60%, 41%) |
| HSV | hsv(58, 75%, 65%) |
| CMYK | cmyk(0%, 2.4%, 74.7%, 34.9%) |
| CIE-LAB | lab(65.05, -12.51, 58.71) |
| CIE-LCH | lch(65.05, 60.03, 102.03°) |
| OKLab | oklab(69.45% -0.0407 0.1291) |
| OKLCH | oklch(69.45% 0.135 107.5) |
| XYZ | xyz(29.0653, 34.1158, 7.2440) |
| Luminance | 0.3412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.09
Puke
#A5A502
ΔE00 2.58
Pea Soup
#929901
ΔE00 4.63
Baby Poop Green
#8F9805
ΔE00 5.22
Pea Soup Green
#94A617
ΔE00 5.37
Puke Green
#9AAE07
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A22A #2A2EA6
analogous
#A6642A #A6A22A #6CA62A
triadic
#A6A22A #2AA6A2 #A22AA6
tetradic
#A6A22A #2AA664 #2A2EA6 #A62A6C
square
#A6A22A #2AA664 #2A2EA6 #A62A6C
split-complementary
#A6A22A #2A6CA6 #642AA6
monochromatic
#444311 #75721E #A6A22A #CECA3F #DBD770
Accessibility & contrast
On white
2.68
#A6A22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#A6A22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A22A
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A22A | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B11
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#B2978B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a6a22a; /* rgb */ color: rgb(166, 162, 42); /* oklch */ color: oklch(69.4% 0.135 107.5);
Tailwind
colors: {
custom: {
50: '#c4bd6d',
500: '#a6a22a',
950: '#000000',
},
}SCSS
$custom: #a6a22a; $custom-light: #c4bd6d; $custom-dark: #000000;
JSON
{
"hex": "#a6a22a",
"rgb": {
"r": 166,
"g": 162,
"b": 42
},
"hsl": {
"h": 58.065,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.69445,
"c": 0.13535,
"h": 107.5
},
"luminance": 0.34115
}Semantic roles & 50–950 ramp
primary
#A6A22A
secondary
#6A6DC2
accent
#4AE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B