#A8B72E#A8B72E
#A8B72E is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.4% C 0.154 H 115.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B72E |
|---|---|
| RGB | rgb(168, 183, 46) |
| HSL | hsl(67, 60%, 45%) |
| HSV | hsv(67, 75%, 72%) |
| CMYK | cmyk(8.2%, 0%, 74.9%, 28.2%) |
| CIE-LAB | lab(71.14, -22.14, 63.13) |
| CIE-LCH | lch(71.14, 66.90, 109.33°) |
| OKLab | oklab(74.36% -0.0673 0.1391) |
| OKLCH | oklch(74.36% 0.155 115.8) |
| XYZ | xyz(33.5760, 42.3896, 8.9975) |
| Luminance | 0.4239 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.34
Snot
#ACBB0D
ΔE00 2.47
Sick Green
#9DB92C
ΔE00 2.76
Pea
#A4BF20
ΔE00 2.97
Puke Green
#9AAE07
ΔE00 3.25
Bright Olive
#9CBB04
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B72E #3D2EB7
analogous
#B7812E #A8B72E #64B72E
triadic
#A8B72E #2EA8B7 #B72EA8
tetradic
#A8B72E #2EB781 #3D2EB7 #B72E64
square
#A8B72E #2EB781 #3D2EB7 #B72E64
split-complementary
#A8B72E #2E64B7 #812EB7
monochromatic
#4E5515 #7B8622 #A8B72E #C4D34F #D5DF80
Accessibility & contrast
On white
2.22
#A8B72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#A8B72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B72E
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B72E | 1.00 | 2.22 | 9.48 | 9.48 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD0E
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#B3AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a8b72e; /* rgb */ color: rgb(168, 183, 46); /* oklch */ color: oklch(74.4% 0.154 115.8);
Tailwind
colors: {
custom: {
50: '#c5cc71',
500: '#a8b72e',
950: '#000000',
},
}SCSS
$custom: #a8b72e; $custom-light: #c5cc71; $custom-dark: #000000;
JSON
{
"hex": "#a8b72e",
"rgb": {
"r": 168,
"g": 183,
"b": 46
},
"hsl": {
"h": 66.569,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.74361,
"c": 0.1545,
"h": 115.8
},
"luminance": 0.42389
}Semantic roles & 50–950 ramp
primary
#A8B72E
secondary
#8179C8
accent
#45E356
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B