#A6B72E#A6B72E
#A6B72E is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.2% C 0.155 H 116.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B72E |
|---|---|
| RGB | rgb(166, 183, 46) |
| HSL | hsl(67, 60%, 45%) |
| HSV | hsv(67, 75%, 72%) |
| CMYK | cmyk(9.3%, 0%, 74.9%, 28.2%) |
| CIE-LAB | lab(70.99, -22.99, 62.93) |
| CIE-LCH | lch(70.99, 67.00, 110.07°) |
| OKLab | oklab(74.2% -0.0695 0.1388) |
| OKLCH | oklch(74.2% 0.155 116.6) |
| XYZ | xyz(33.1534, 42.1717, 8.9777) |
| Luminance | 0.4217 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.30
Mustard Green
#A8B504
ΔE00 2.59
Snot
#ACBB0D
ΔE00 2.70
Pea
#A4BF20
ΔE00 2.75
Bright Olive
#9CBB04
ΔE00 3.10
Puke Green
#9AAE07
ΔE00 3.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B72E #3F2EB7
analogous
#B7832E #A6B72E #62B72E
triadic
#A6B72E #2EA6B7 #B72EA6
tetradic
#A6B72E #2EB783 #3F2EB7 #B72E62
square
#A6B72E #2EB783 #3F2EB7 #B72E62
split-complementary
#A6B72E #2E62B7 #832EB7
monochromatic
#4D5515 #7A8622 #A6B72E #C3D34F #D3DF80
Accessibility & contrast
On white
2.23
#A6B72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#A6B72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B72E
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B72E | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD0E
Deuteranopia (green-blind)
#C2AF3A
Tritanopia (blue-blind)
#B1AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a6b72e; /* rgb */ color: rgb(166, 183, 46); /* oklch */ color: oklch(74.2% 0.155 116.6);
Tailwind
colors: {
custom: {
50: '#c4cc71',
500: '#a6b72e',
950: '#000000',
},
}SCSS
$custom: #a6b72e; $custom-light: #c4cc71; $custom-dark: #000000;
JSON
{
"hex": "#a6b72e",
"rgb": {
"r": 166,
"g": 183,
"b": 46
},
"hsl": {
"h": 67.445,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.74204,
"c": 0.15517,
"h": 116.6
},
"luminance": 0.42171
}Semantic roles & 50–950 ramp
primary
#A6B72E
secondary
#8379C8
accent
#45E358
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B