#A6B02E#A6B02E
#A6B02E is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.6% C 0.147 H 113.9°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B02E |
|---|---|
| RGB | rgb(166, 176, 46) |
| HSL | hsl(65, 59%, 44%) |
| HSV | hsv(65, 74%, 69%) |
| CMYK | cmyk(5.7%, 0%, 73.9%, 31%) |
| CIE-LAB | lab(69.01, -19.50, 61.06) |
| CIE-LCH | lch(69.01, 64.10, 107.71°) |
| OKLab | oklab(72.61% -0.0598 0.1348) |
| OKLCH | oklch(72.61% 0.147 113.9) |
| XYZ | xyz(31.7453, 39.3556, 8.5083) |
| Luminance | 0.3936 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.82
Puke Green
#9AAE07
ΔE00 2.83
Barf Green
#94AC02
ΔE00 3.75
Snot
#ACBB0D
ΔE00 3.85
Pea Soup Green
#94A617
ΔE00 3.87
Vomit
#A2A415
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B02E #382EB0
analogous
#B0792E #A6B02E #65B02E
triadic
#A6B02E #2EA6B0 #B02EA6
tetradic
#A6B02E #2EB079 #382EB0 #B02E65
square
#A6B02E #2EB079 #382EB0 #B02E65
split-complementary
#A6B02E #2E65B0 #792EB0
monochromatic
#4A4F15 #787F21 #A6B02E #C6D04B #D5DD7C
Accessibility & contrast
On white
2.37
#A6B02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#A6B02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B02E
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B02E | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA713
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#B1A597
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a6b02e; /* rgb */ color: rgb(166, 176, 46); /* oklch */ color: oklch(72.6% 0.147 113.9);
Tailwind
colors: {
custom: {
50: '#c4c771',
500: '#a6b02e',
950: '#000000',
},
}SCSS
$custom: #a6b02e; $custom-light: #c4c771; $custom-dark: #000000;
JSON
{
"hex": "#a6b02e",
"rgb": {
"r": 166,
"g": 176,
"b": 46
},
"hsl": {
"h": 64.615,
"s": 58.559,
"l": 43.529
},
"oklch": {
"l": 0.72614,
"c": 0.14747,
"h": 113.9
},
"luminance": 0.39355
}Semantic roles & 50–950 ramp
primary
#A6B02E
secondary
#7B75C5
accent
#46E252
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B