#A5B52E#A5B52E
#A5B52E is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.7% C 0.153 H 116.3°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B52E |
|---|---|
| RGB | rgb(165, 181, 46) |
| HSL | hsl(67, 59%, 45%) |
| HSV | hsv(67, 75%, 71%) |
| CMYK | cmyk(8.8%, 0%, 74.6%, 29%) |
| CIE-LAB | lab(70.35, -22.42, 62.30) |
| CIE-LCH | lch(70.35, 66.21, 109.79°) |
| OKLab | oklab(73.67% -0.0679 0.1374) |
| OKLCH | oklch(73.67% 0.153 116.3) |
| XYZ | xyz(32.5349, 41.2448, 8.8314) |
| Luminance | 0.4124 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.54
Mustard Green
#A8B504
ΔE00 2.59
Puke Green
#9AAE07
ΔE00 2.79
Snot
#ACBB0D
ΔE00 3.01
Booger
#9BB53C
ΔE00 3.11
Booger Green
#96B403
ΔE00 3.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B52E #3E2EB5
analogous
#B5822E #A5B52E #62B52E
triadic
#A5B52E #2EA5B5 #B52EA5
tetradic
#A5B52E #2EB582 #3E2EB5 #B52E62
square
#A5B52E #2EB582 #3E2EB5 #B52E62
split-complementary
#A5B52E #2E62B5 #822EB5
monochromatic
#4C5315 #798422 #A5B52E #C2D24E #D3DE7F
Accessibility & contrast
On white
2.27
#A5B52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#A5B52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B52E
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B52E | 1.00 | 2.27 | 9.25 | 9.25 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB10
Deuteranopia (green-blind)
#C0AD3A
Tritanopia (blue-blind)
#B0AB9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a5b52e; /* rgb */ color: rgb(165, 181, 46); /* oklch */ color: oklch(73.7% 0.153 116.3);
Tailwind
colors: {
custom: {
50: '#c3cb71',
500: '#a5b52e',
950: '#000000',
},
}SCSS
$custom: #a5b52e; $custom-light: #c3cb71; $custom-dark: #000000;
JSON
{
"hex": "#a5b52e",
"rgb": {
"r": 165,
"g": 181,
"b": 46
},
"hsl": {
"h": 67.111,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.7367,
"c": 0.15328,
"h": 116.3
},
"luminance": 0.41244
}Semantic roles & 50–950 ramp
primary
#A5B52E
secondary
#8178C7
accent
#45E358
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B