#A8B72A#A8B72A
#A8B72A is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.3% C 0.157 H 115.8°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B72A |
|---|---|
| RGB | rgb(168, 183, 42) |
| HSL | hsl(66, 63%, 44%) |
| HSV | hsv(66, 77%, 72%) |
| CMYK | cmyk(8.2%, 0%, 77%, 28.2%) |
| CIE-LAB | lab(71.12, -22.32, 64.39) |
| CIE-LCH | lch(71.12, 68.15, 109.12°) |
| OKLab | oklab(74.34% -0.0681 0.1411) |
| OKLCH | oklch(74.34% 0.157 115.8) |
| XYZ | xyz(33.5008, 42.3595, 8.6015) |
| Luminance | 0.4236 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.02
Snot
#ACBB0D
ΔE00 2.18
Sick Green
#9DB92C
ΔE00 2.86
Pea
#A4BF20
ΔE00 2.91
Puke Green
#9AAE07
ΔE00 3.14
Bright Olive
#9CBB04
ΔE00 3.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B72A #392AB7
analogous
#B7802A #A8B72A #62B72A
triadic
#A8B72A #2AA8B7 #B72AA8
tetradic
#A8B72A #2AB780 #392AB7 #B72A62
square
#A8B72A #2AB780 #392AB7 #B72A62
split-complementary
#A8B72A #2A62B7 #802AB7
monochromatic
#4D5313 #7A851F #A8B72A #C6D549 #D6E17B
Accessibility & contrast
On white
2.22
#A8B72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#A8B72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B72A
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B72A | 1.00 | 2.22 | 9.47 | 9.47 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#B3AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a8b72a; /* rgb */ color: rgb(168, 183, 42); /* oklch */ color: oklch(74.3% 0.157 115.8);
Tailwind
colors: {
custom: {
50: '#c6cc70',
500: '#a8b72a',
950: '#000000',
},
}SCSS
$custom: #a8b72a; $custom-light: #c6cc70; $custom-dark: #000000;
JSON
{
"hex": "#a8b72a",
"rgb": {
"r": 168,
"g": 183,
"b": 42
},
"hsl": {
"h": 66.383,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.74338,
"c": 0.15663,
"h": 115.8
},
"luminance": 0.42359
}Semantic roles & 50–950 ramp
primary
#A8B72A
secondary
#7D74C9
accent
#42E653
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B