#A6A21E#A6A21E
#A6A21E is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.141 H 107.7°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A21E |
|---|---|
| RGB | rgb(166, 162, 30) |
| HSL | hsl(58, 69%, 38%) |
| HSV | hsv(58, 82%, 65%) |
| CMYK | cmyk(0%, 2.4%, 81.9%, 34.9%) |
| CIE-LAB | lab(65.00, -12.97, 62.39) |
| CIE-LCH | lch(65.00, 63.72, 101.75°) |
| OKLab | oklab(69.38% -0.043 0.1347) |
| OKLCH | oklch(69.38% 0.141 107.7) |
| XYZ | xyz(28.8818, 34.0424, 6.2775) |
| Luminance | 0.3404 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.61
Puke
#A5A502
ΔE00 1.76
Pea Soup
#929901
ΔE00 4.48
Baby Poop Green
#8F9805
ΔE00 5.15
Pea Soup Green
#94A617
ΔE00 5.37
Muddy Yellow
#BFAC05
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A21E #1E22A6
analogous
#A65E1E #A6A21E #66A61E
triadic
#A6A21E #1EA6A2 #A21EA6
tetradic
#A6A21E #1EA65E #1E22A6 #A61E66
square
#A6A21E #1EA65E #1E22A6 #A61E66
split-complementary
#A6A21E #1E66A6 #5E1EA6
monochromatic
#3E3D0B #726F15 #A6A21E #D8D329 #E2DE5D
Accessibility & contrast
On white
2.69
#A6A21E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#A6A21E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A21E
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A21E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A21E | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B3A02A
Tritanopia (blue-blind)
#B3978A
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a6a21e; /* rgb */ color: rgb(166, 162, 30); /* oklch */ color: oklch(69.4% 0.141 107.7);
Tailwind
colors: {
custom: {
50: '#c4bd68',
500: '#a6a21e',
950: '#000000',
},
}SCSS
$custom: #a6a21e; $custom-light: #c4bd68; $custom-dark: #000000;
JSON
{
"hex": "#a6a21e",
"rgb": {
"r": 166,
"g": 162,
"b": 30
},
"hsl": {
"h": 58.235,
"s": 69.388,
"l": 38.431
},
"oklch": {
"l": 0.6938,
"c": 0.14137,
"h": 107.7
},
"luminance": 0.34041
}Semantic roles & 50–950 ramp
primary
#A6A21E
secondary
#5A5DC6
accent
#41EC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A