#A6B42E#A6B42E
#A6B42E is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.152 H 115.5°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B42E |
|---|---|
| RGB | rgb(166, 180, 46) |
| HSL | hsl(66, 59%, 44%) |
| HSV | hsv(66, 74%, 71%) |
| CMYK | cmyk(7.8%, 0%, 74.4%, 29.4%) |
| CIE-LAB | lab(70.14, -21.50, 62.13) |
| CIE-LCH | lch(70.14, 65.75, 109.09°) |
| OKLab | oklab(73.52% -0.0654 0.1371) |
| OKLCH | oklch(73.52% 0.152 115.5) |
| XYZ | xyz(32.5412, 40.9473, 8.7736) |
| Luminance | 0.4095 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.45
Puke Green
#9AAE07
ΔE00 2.78
Sick Green
#9DB92C
ΔE00 3.01
Snot
#ACBB0D
ΔE00 3.05
Booger
#9BB53C
ΔE00 3.44
Booger Green
#96B403
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B42E #3C2EB4
analogous
#B47F2E #A6B42E #63B42E
triadic
#A6B42E #2EA6B4 #B42EA6
tetradic
#A6B42E #2EB47F #3C2EB4 #B42E63
square
#A6B42E #2EB47F #3C2EB4 #B42E63
split-complementary
#A6B42E #2E63B4 #7F2EB4
monochromatic
#4C5315 #798322 #A6B42E #C4D24E #D4DE7E
Accessibility & contrast
On white
2.29
#A6B42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#A6B42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B42E
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B42E | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB10
Deuteranopia (green-blind)
#C0AC39
Tritanopia (blue-blind)
#B1A99B
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b42e; /* rgb */ color: rgb(166, 180, 46); /* oklch */ color: oklch(73.5% 0.152 115.5);
Tailwind
colors: {
custom: {
50: '#c4ca71',
500: '#a6b42e',
950: '#000000',
},
}SCSS
$custom: #a6b42e; $custom-light: #c4ca71; $custom-dark: #000000;
JSON
{
"hex": "#a6b42e",
"rgb": {
"r": 166,
"g": 180,
"b": 46
},
"hsl": {
"h": 66.269,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.73521,
"c": 0.15185,
"h": 115.5
},
"luminance": 0.40947
}Semantic roles & 50–950 ramp
primary
#A6B42E
secondary
#7F77C7
accent
#45E256
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B