#A6A12E#A6A12E
#A6A12E is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.3% C 0.132 H 106.9°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A12E |
|---|---|
| RGB | rgb(166, 161, 46) |
| HSL | hsl(58, 57%, 42%) |
| HSV | hsv(58, 72%, 65%) |
| CMYK | cmyk(0%, 3%, 72.3%, 34.9%) |
| CIE-LAB | lab(64.80, -11.80, 57.03) |
| CIE-LCH | lch(64.80, 58.24, 101.69°) |
| OKLab | oklab(69.25% -0.0383 0.1263) |
| OKLCH | oklch(69.25% 0.132 106.9) |
| XYZ | xyz(28.9650, 33.7950, 7.5816) |
| Luminance | 0.3379 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.63
Puke
#A5A502
ΔE00 3.14
Pea Soup
#929901
ΔE00 4.76
Baby Poop Green
#8F9805
ΔE00 5.31
Pea Soup Green
#94A617
ΔE00 5.71
Muddy Yellow
#BFAC05
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A12E #2E33A6
analogous
#A6652E #A6A12E #6FA62E
triadic
#A6A12E #2EA6A1 #A12EA6
tetradic
#A6A12E #2EA665 #2E33A6 #A62E6F
square
#A6A12E #2EA665 #2E33A6 #A62E6F
split-complementary
#A6A12E #2E6FA6 #652EA6
monochromatic
#464413 #767321 #A6A12E #CCC646 #D9D576
Accessibility & contrast
On white
2.71
#A6A12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#A6A12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A12E
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A12E | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#B2968B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a6a12e; /* rgb */ color: rgb(166, 161, 46); /* oklch */ color: oklch(69.3% 0.132 106.9);
Tailwind
colors: {
custom: {
50: '#c4bc6f',
500: '#a6a12e',
950: '#000000',
},
}SCSS
$custom: #a6a12e; $custom-light: #c4bc6f; $custom-dark: #000000;
JSON
{
"hex": "#a6a12e",
"rgb": {
"r": 166,
"g": 161,
"b": 46
},
"hsl": {
"h": 57.5,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.6925,
"c": 0.13196,
"h": 106.9
},
"luminance": 0.33794
}Semantic roles & 50–950 ramp
primary
#A6A12E
secondary
#6F72C1
accent
#4EE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B