#A8B42E#A8B42E
#A8B42E is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.7% C 0.151 H 114.7°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B42E |
|---|---|
| RGB | rgb(168, 180, 46) |
| HSL | hsl(65, 59%, 44%) |
| HSV | hsv(65, 74%, 71%) |
| CMYK | cmyk(6.7%, 0%, 74.4%, 29.4%) |
| CIE-LAB | lab(70.29, -20.65, 62.33) |
| CIE-LCH | lch(70.29, 65.66, 108.33°) |
| OKLab | oklab(73.68% -0.0631 0.1374) |
| OKLCH | oklch(73.68% 0.151 114.7) |
| XYZ | xyz(32.9638, 41.1652, 8.7934) |
| Luminance | 0.4117 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.28
Snot
#ACBB0D
ΔE00 2.92
Puke Green
#9AAE07
ΔE00 3.01
Sick Green
#9DB92C
ΔE00 3.45
Pea
#A4BF20
ΔE00 3.89
Booger
#9BB53C
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B42E #3A2EB4
analogous
#B47D2E #A8B42E #65B42E
triadic
#A8B42E #2EA8B4 #B42EA8
tetradic
#A8B42E #2EB47D #3A2EB4 #B42E65
square
#A8B42E #2EB47D #3A2EB4 #B42E65
split-complementary
#A8B42E #2E65B4 #7D2EB4
monochromatic
#4D5315 #7B8322 #A8B42E #C6D24E #D6DE7E
Accessibility & contrast
On white
2.27
#A8B42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.23
#A8B42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B42E
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B42E | 1.00 | 2.27 | 9.23 | 9.23 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB10
Deuteranopia (green-blind)
#C1AD39
Tritanopia (blue-blind)
#B3A99B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a8b42e; /* rgb */ color: rgb(168, 180, 46); /* oklch */ color: oklch(73.7% 0.151 114.7);
Tailwind
colors: {
custom: {
50: '#c5ca71',
500: '#a8b42e',
950: '#000000',
},
}SCSS
$custom: #a8b42e; $custom-light: #c5ca71; $custom-dark: #000000;
JSON
{
"hex": "#a8b42e",
"rgb": {
"r": 168,
"g": 180,
"b": 46
},
"hsl": {
"h": 65.373,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.73682,
"c": 0.15122,
"h": 114.7
},
"luminance": 0.41165
}Semantic roles & 50–950 ramp
primary
#A8B42E
secondary
#7E77C7
accent
#45E253
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B