#A6B72B#A6B72B
#A6B72B is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.2% C 0.157 H 116.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B72B |
|---|---|
| RGB | rgb(166, 183, 43) |
| HSL | hsl(67, 62%, 44%) |
| HSV | hsv(67, 77%, 72%) |
| CMYK | cmyk(9.3%, 0%, 76.5%, 28.2%) |
| CIE-LAB | lab(70.97, -23.12, 63.89) |
| CIE-LCH | lch(70.97, 67.94, 109.90°) |
| OKLab | oklab(74.19% -0.0701 0.1403) |
| OKLCH | oklch(74.19% 0.157 116.6) |
| XYZ | xyz(33.0963, 42.1488, 8.6771) |
| Luminance | 0.4215 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.35
Sick Green
#9DB92C
ΔE00 2.37
Snot
#ACBB0D
ΔE00 2.48
Pea
#A4BF20
ΔE00 2.68
Bright Olive
#9CBB04
ΔE00 2.99
Puke Green
#9AAE07
ΔE00 3.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B72B #3C2BB7
analogous
#B7822B #A6B72B #60B72B
triadic
#A6B72B #2BA6B7 #B72BA6
tetradic
#A6B72B #2BB782 #3C2BB7 #B72B60
square
#A6B72B #2BB782 #3C2BB7 #B72B60
split-complementary
#A6B72B #2B60B7 #822BB7
monochromatic
#4C5414 #79851F #A6B72B #C4D54B #D4E07C
Accessibility & contrast
On white
2.23
#A6B72B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#A6B72B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B72B
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B72B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B72B | 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)
#C4AD04
Deuteranopia (green-blind)
#C2AF38
Tritanopia (blue-blind)
#B1AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a6b72b; /* rgb */ color: rgb(166, 183, 43); /* oklch */ color: oklch(74.2% 0.157 116.6);
Tailwind
colors: {
custom: {
50: '#c4cc70',
500: '#a6b72b',
950: '#000000',
},
}SCSS
$custom: #a6b72b; $custom-light: #c4cc70; $custom-dark: #000000;
JSON
{
"hex": "#a6b72b",
"rgb": {
"r": 166,
"g": 183,
"b": 43
},
"hsl": {
"h": 67.286,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.74186,
"c": 0.15679,
"h": 116.6
},
"luminance": 0.42148
}Semantic roles & 50–950 ramp
primary
#A6B72B
secondary
#7F75C9
accent
#43E556
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B