#A8B52E#A8B52E
#A8B52E is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.9% C 0.152 H 115.1°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B52E |
|---|---|
| RGB | rgb(168, 181, 46) |
| HSL | hsl(66, 59%, 45%) |
| HSV | hsv(66, 75%, 71%) |
| CMYK | cmyk(7.2%, 0%, 74.6%, 29%) |
| CIE-LAB | lab(70.57, -21.15, 62.59) |
| CIE-LCH | lch(70.57, 66.07, 108.67°) |
| OKLab | oklab(73.91% -0.0645 0.138) |
| OKLCH | oklch(73.91% 0.152 115.1) |
| XYZ | xyz(33.1664, 41.5704, 8.8610) |
| Luminance | 0.4157 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.26
Snot
#ACBB0D
ΔE00 2.74
Puke Green
#9AAE07
ΔE00 3.06
Sick Green
#9DB92C
ΔE00 3.20
Pea
#A4BF20
ΔE00 3.58
Booger Green
#96B403
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B52E #3B2EB5
analogous
#B57F2E #A8B52E #65B52E
triadic
#A8B52E #2EA8B5 #B52EA8
tetradic
#A8B52E #2EB57F #3B2EB5 #B52E65
square
#A8B52E #2EB57F #3B2EB5 #B52E65
split-complementary
#A8B52E #2E65B5 #7F2EB5
monochromatic
#4D5315 #7B8422 #A8B52E #C5D24E #D5DE7F
Accessibility & contrast
On white
2.25
#A8B52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.31
#A8B52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B52E
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B52E | 1.00 | 2.25 | 9.31 | 9.31 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC10
Deuteranopia (green-blind)
#C1AE3A
Tritanopia (blue-blind)
#B3AA9B
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a8b52e; /* rgb */ color: rgb(168, 181, 46); /* oklch */ color: oklch(73.9% 0.152 115.1);
Tailwind
colors: {
custom: {
50: '#c5cb71',
500: '#a8b52e',
950: '#000000',
},
}SCSS
$custom: #a8b52e; $custom-light: #c5cb71; $custom-dark: #000000;
JSON
{
"hex": "#a8b52e",
"rgb": {
"r": 168,
"g": 181,
"b": 46
},
"hsl": {
"h": 65.778,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.73908,
"c": 0.15231,
"h": 115.1
},
"luminance": 0.4157
}Semantic roles & 50–950 ramp
primary
#A8B52E
secondary
#7F78C7
accent
#45E354
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B