#A5B52C#A5B52C
#A5B52C is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.7% C 0.154 H 116.3°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B52C |
|---|---|
| RGB | rgb(165, 181, 44) |
| HSL | hsl(67, 61%, 44%) |
| HSV | hsv(67, 76%, 71%) |
| CMYK | cmyk(8.8%, 0%, 75.7%, 29%) |
| CIE-LAB | lab(70.34, -22.51, 62.95) |
| CIE-LCH | lch(70.34, 66.86, 109.68°) |
| OKLab | oklab(73.66% -0.0683 0.1385) |
| OKLCH | oklch(73.66% 0.154 116.3) |
| XYZ | xyz(32.4964, 41.2294, 8.6286) |
| Luminance | 0.4123 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.42
Sick Green
#9DB92C
ΔE00 2.57
Puke Green
#9AAE07
ΔE00 2.70
Snot
#ACBB0D
ΔE00 2.86
Booger Green
#96B403
ΔE00 3.13
Pea
#A4BF20
ΔE00 3.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B52C #3C2CB5
analogous
#B5812C #A5B52C #61B52C
triadic
#A5B52C #2CA5B5 #B52CA5
tetradic
#A5B52C #2CB581 #3C2CB5 #B52C61
square
#A5B52C #2CB581 #3C2CB5 #B52C61
split-complementary
#A5B52C #2C61B5 #812CB5
monochromatic
#4B5314 #788420 #A5B52C #C3D34B #D4DF7C
Accessibility & contrast
On white
2.27
#A5B52C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#A5B52C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B52C
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B52C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B52C | 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)
#C2AB09
Deuteranopia (green-blind)
#C0AD38
Tritanopia (blue-blind)
#B0AA9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a5b52c; /* rgb */ color: rgb(165, 181, 44); /* oklch */ color: oklch(73.7% 0.154 116.3);
Tailwind
colors: {
custom: {
50: '#c3cb70',
500: '#a5b52c',
950: '#000000',
},
}SCSS
$custom: #a5b52c; $custom-light: #c3cb70; $custom-dark: #000000;
JSON
{
"hex": "#a5b52c",
"rgb": {
"r": 165,
"g": 181,
"b": 44
},
"hsl": {
"h": 67.007,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.73658,
"c": 0.15439,
"h": 116.3
},
"luminance": 0.41229
}Semantic roles & 50–950 ramp
primary
#A5B52C
secondary
#7F75C8
accent
#44E457
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B