#A6B142#A6B142
#A6B142 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.0% C 0.135 H 114.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B142 |
|---|---|
| RGB | rgb(166, 177, 66) |
| HSL | hsl(66, 46%, 48%) |
| HSV | hsv(66, 63%, 69%) |
| CMYK | cmyk(6.2%, 0%, 62.7%, 30.6%) |
| CIE-LAB | lab(69.43, -18.84, 53.71) |
| CIE-LCH | lch(69.43, 56.92, 109.33°) |
| OKLab | oklab(73% -0.056 0.1225) |
| OKLCH | oklch(73% 0.135 114.6) |
| XYZ | xyz(32.4322, 39.9452, 11.1549) |
| Luminance | 0.3995 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.31
Sick Green
#9DB92C
ΔE00 4.25
Puke Green
#9AAE07
ΔE00 4.33
Sickly Green
#94B21C
ΔE00 4.65
Pea Soup Green
#94A617
ΔE00 4.73
Mustard Green
#A8B504
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B142 #4D42B1
analogous
#B18442 #A6B142 #6EB142
triadic
#A6B142 #42A6B1 #B142A6
tetradic
#A6B142 #42B184 #4D42B1 #B1426E
square
#A6B142 #42B184 #4D42B1 #B1426E
split-complementary
#A6B142 #426EB1 #8442B1
monochromatic
#525821 #7C8431 #A6B142 #BEC769 #D1D896
Accessibility & contrast
On white
2.34
#A6B142 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#A6B142 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B142
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B142 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B142 | 1.00 | 2.34 | 8.99 | 8.99 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA934
Deuteranopia (green-blind)
#BDAB49
Tritanopia (blue-blind)
#B0A79A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b142; /* rgb */ color: rgb(166, 177, 66); /* oklch */ color: oklch(73.0% 0.135 114.6);
Tailwind
colors: {
custom: {
50: '#c3c87c',
500: '#a6b142',
950: '#000000',
},
}SCSS
$custom: #a6b142; $custom-light: #c3c87c; $custom-dark: #000000;
JSON
{
"hex": "#a6b142",
"rgb": {
"r": 166,
"g": 177,
"b": 66
},
"hsl": {
"h": 65.946,
"s": 45.679,
"l": 47.647
},
"oklch": {
"l": 0.72997,
"c": 0.13472,
"h": 114.6
},
"luminance": 0.39945
}Semantic roles & 50–950 ramp
primary
#A6B142
secondary
#918BC3
accent
#52D55F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C