#A6A22B#A6A22B
#A6A22B is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.135 H 107.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A22B |
|---|---|
| RGB | rgb(166, 162, 43) |
| HSL | hsl(58, 59%, 41%) |
| HSV | hsv(58, 74%, 65%) |
| CMYK | cmyk(0%, 2.4%, 74.1%, 34.9%) |
| CIE-LAB | lab(65.06, -12.47, 58.36) |
| CIE-LCH | lch(65.06, 59.68, 102.06°) |
| OKLab | oklab(69.45% -0.0405 0.1285) |
| OKLCH | oklch(69.45% 0.135 107.5) |
| XYZ | xyz(29.0834, 34.1231, 7.3394) |
| Luminance | 0.3412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.16
Puke
#A5A502
ΔE00 2.67
Pea Soup
#929901
ΔE00 4.66
Baby Poop Green
#8F9805
ΔE00 5.24
Pea Soup Green
#94A617
ΔE00 5.38
Puke Green
#9AAE07
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A22B #2B2FA6
analogous
#A6642B #A6A22B #6CA62B
triadic
#A6A22B #2BA6A2 #A22BA6
tetradic
#A6A22B #2BA664 #2B2FA6 #A62B6C
square
#A6A22B #2BA664 #2B2FA6 #A62B6C
split-complementary
#A6A22B #2B6CA6 #642BA6
monochromatic
#454312 #75731E #A6A22B #CEC941 #DAD771
Accessibility & contrast
On white
2.68
#A6A22B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#A6A22B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A22B
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A22B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A22B | 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)
#B09C13
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#B2978B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a6a22b; /* rgb */ color: rgb(166, 162, 43); /* oklch */ color: oklch(69.5% 0.135 107.5);
Tailwind
colors: {
custom: {
50: '#c4bd6d',
500: '#a6a22b',
950: '#000000',
},
}SCSS
$custom: #a6a22b; $custom-light: #c4bd6d; $custom-dark: #000000;
JSON
{
"hex": "#a6a22b",
"rgb": {
"r": 166,
"g": 162,
"b": 43
},
"hsl": {
"h": 58.049,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.69452,
"c": 0.13476,
"h": 107.5
},
"luminance": 0.34122
}Semantic roles & 50–950 ramp
primary
#A6A22B
secondary
#6B6EC1
accent
#4BE246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B