#A5B52F#A5B52F
#A5B52F is a light, vivid yellow. Relative luminance 0.413; 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 | #A5B52F |
|---|---|
| RGB | rgb(165, 181, 47) |
| HSL | hsl(67, 59%, 45%) |
| HSV | hsv(67, 74%, 71%) |
| CMYK | cmyk(8.8%, 0%, 74%, 29%) |
| CIE-LAB | lab(70.35, -22.38, 61.97) |
| CIE-LCH | lch(70.35, 65.88, 109.85°) |
| OKLab | oklab(73.68% -0.0676 0.1369) |
| OKLCH | oklch(73.68% 0.153 116.3) |
| XYZ | xyz(32.5549, 41.2528, 8.9364) |
| Luminance | 0.4125 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.53
Mustard Green
#A8B504
ΔE00 2.68
Puke Green
#9AAE07
ΔE00 2.83
Booger
#9BB53C
ΔE00 3.04
Snot
#ACBB0D
ΔE00 3.08
Booger Green
#96B403
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B52F #3F2FB5
analogous
#B5822F #A5B52F #62B52F
triadic
#A5B52F #2FA5B5 #B52FA5
tetradic
#A5B52F #2FB582 #3F2FB5 #B52F62
square
#A5B52F #2FB582 #3F2FB5 #B52F62
split-complementary
#A5B52F #2F62B5 #822FB5
monochromatic
#4C5416 #798422 #A5B52F #C2D150 #D3DE80
Accessibility & contrast
On white
2.27
#A5B52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#A5B52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B52F
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B52F | 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)
#C2AB12
Deuteranopia (green-blind)
#C0AD3A
Tritanopia (blue-blind)
#B0AB9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a5b52f; /* rgb */ color: rgb(165, 181, 47); /* oklch */ color: oklch(73.7% 0.153 116.3);
Tailwind
colors: {
custom: {
50: '#c3cb72',
500: '#a5b52f',
950: '#000000',
},
}SCSS
$custom: #a5b52f; $custom-light: #c3cb72; $custom-dark: #000000;
JSON
{
"hex": "#a5b52f",
"rgb": {
"r": 165,
"g": 181,
"b": 47
},
"hsl": {
"h": 67.164,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.73676,
"c": 0.15272,
"h": 116.3
},
"luminance": 0.41252
}Semantic roles & 50–950 ramp
primary
#A5B52F
secondary
#8279C7
accent
#46E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B