#A6B72D#A6B72D
#A6B72D is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.2% C 0.156 H 116.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B72D |
|---|---|
| RGB | rgb(166, 183, 45) |
| HSL | hsl(67, 61%, 45%) |
| HSV | hsv(67, 75%, 72%) |
| CMYK | cmyk(9.3%, 0%, 75.4%, 28.2%) |
| CIE-LAB | lab(70.98, -23.03, 63.26) |
| CIE-LCH | lch(70.98, 67.32, 110.01°) |
| OKLab | oklab(74.2% -0.0697 0.1393) |
| OKLCH | oklch(74.2% 0.156 116.6) |
| XYZ | xyz(33.1339, 42.1639, 8.8751) |
| Luminance | 0.4216 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.32
Mustard Green
#A8B504
ΔE00 2.51
Snot
#ACBB0D
ΔE00 2.62
Pea
#A4BF20
ΔE00 2.72
Bright Olive
#9CBB04
ΔE00 3.06
Puke Green
#9AAE07
ΔE00 3.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B72D #3E2DB7
analogous
#B7832D #A6B72D #61B72D
triadic
#A6B72D #2DA6B7 #B72DA6
tetradic
#A6B72D #2DB783 #3E2DB7 #B72D61
square
#A6B72D #2DB783 #3E2DB7 #B72D61
split-complementary
#A6B72D #2D61B7 #832DB7
monochromatic
#4D5515 #798621 #A6B72D #C3D34E #D4DF7F
Accessibility & contrast
On white
2.23
#A6B72D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#A6B72D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B72D
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B72D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B72D | 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)
#C4AD0B
Deuteranopia (green-blind)
#C2AF39
Tritanopia (blue-blind)
#B1AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a6b72d; /* rgb */ color: rgb(166, 183, 45); /* oklch */ color: oklch(74.2% 0.156 116.6);
Tailwind
colors: {
custom: {
50: '#c4cc71',
500: '#a6b72d',
950: '#000000',
},
}SCSS
$custom: #a6b72d; $custom-light: #c4cc71; $custom-dark: #000000;
JSON
{
"hex": "#a6b72d",
"rgb": {
"r": 166,
"g": 183,
"b": 45
},
"hsl": {
"h": 67.391,
"s": 60.526,
"l": 44.706
},
"oklch": {
"l": 0.74198,
"c": 0.15573,
"h": 116.6
},
"luminance": 0.42163
}Semantic roles & 50–950 ramp
primary
#A6B72D
secondary
#8278C8
accent
#44E458
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B