#A6B72A#A6B72A
#A6B72A is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.2% C 0.157 H 116.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B72A |
|---|---|
| RGB | rgb(166, 183, 42) |
| HSL | hsl(67, 63%, 44%) |
| HSV | hsv(67, 77%, 72%) |
| CMYK | cmyk(9.3%, 0%, 77%, 28.2%) |
| CIE-LAB | lab(70.97, -23.16, 64.20) |
| CIE-LCH | lch(70.97, 68.25, 109.84°) |
| OKLab | oklab(74.18% -0.0703 0.1407) |
| OKLCH | oklch(74.18% 0.157 116.5) |
| XYZ | xyz(33.0782, 42.1416, 8.5816) |
| Luminance | 0.4214 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.28
Sick Green
#9DB92C
ΔE00 2.40
Snot
#ACBB0D
ΔE00 2.41
Pea
#A4BF20
ΔE00 2.66
Bright Olive
#9CBB04
ΔE00 2.96
Puke Green
#9AAE07
ΔE00 2.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B72A #3B2AB7
analogous
#B7822A #A6B72A #60B72A
triadic
#A6B72A #2AA6B7 #B72AA6
tetradic
#A6B72A #2AB782 #3B2AB7 #B72A60
square
#A6B72A #2AB782 #3B2AB7 #B72A60
split-complementary
#A6B72A #2A60B7 #822AB7
monochromatic
#4C5313 #79851F #A6B72A #C4D549 #D4E17B
Accessibility & contrast
On white
2.23
#A6B72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#A6B72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B72A
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B72A | 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)
#C4AD00
Deuteranopia (green-blind)
#C2AF37
Tritanopia (blue-blind)
#B1AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a6b72a; /* rgb */ color: rgb(166, 183, 42); /* oklch */ color: oklch(74.2% 0.157 116.5);
Tailwind
colors: {
custom: {
50: '#c4cc70',
500: '#a6b72a',
950: '#000000',
},
}SCSS
$custom: #a6b72a; $custom-light: #c4cc70; $custom-dark: #000000;
JSON
{
"hex": "#a6b72a",
"rgb": {
"r": 166,
"g": 183,
"b": 42
},
"hsl": {
"h": 67.234,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.74181,
"c": 0.15731,
"h": 116.5
},
"luminance": 0.42141
}Semantic roles & 50–950 ramp
primary
#A6B72A
secondary
#7E74C9
accent
#42E656
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B