#A5B52D#A5B52D
#A5B52D 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 | #A5B52D |
|---|---|
| RGB | rgb(165, 181, 45) |
| HSL | hsl(67, 60%, 44%) |
| HSV | hsv(67, 75%, 71%) |
| CMYK | cmyk(8.8%, 0%, 75.1%, 29%) |
| CIE-LAB | lab(70.34, -22.47, 62.63) |
| CIE-LCH | lch(70.34, 66.54, 109.74°) |
| OKLab | oklab(73.66% -0.0681 0.138) |
| OKLCH | oklch(73.66% 0.154 116.3) |
| XYZ | xyz(32.5154, 41.2370, 8.7288) |
| Luminance | 0.4124 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.51
Sick Green
#9DB92C
ΔE00 2.56
Puke Green
#9AAE07
ΔE00 2.74
Snot
#ACBB0D
ΔE00 2.93
Booger Green
#96B403
ΔE00 3.16
Booger
#9BB53C
ΔE00 3.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B52D #3D2DB5
analogous
#B5812D #A5B52D #61B52D
triadic
#A5B52D #2DA5B5 #B52DA5
tetradic
#A5B52D #2DB581 #3D2DB5 #B52D61
square
#A5B52D #2DB581 #3D2DB5 #B52D61
split-complementary
#A5B52D #2D61B5 #812DB5
monochromatic
#4C5315 #788421 #A5B52D #C3D34D #D3DF7E
Accessibility & contrast
On white
2.27
#A5B52D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#A5B52D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B52D
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B52D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B52D | 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)
#C2AB0D
Deuteranopia (green-blind)
#C0AD39
Tritanopia (blue-blind)
#B0AA9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a5b52d; /* rgb */ color: rgb(165, 181, 45); /* oklch */ color: oklch(73.7% 0.154 116.3);
Tailwind
colors: {
custom: {
50: '#c3cb71',
500: '#a5b52d',
950: '#000000',
},
}SCSS
$custom: #a5b52d; $custom-light: #c3cb71; $custom-dark: #000000;
JSON
{
"hex": "#a5b52d",
"rgb": {
"r": 165,
"g": 181,
"b": 45
},
"hsl": {
"h": 67.059,
"s": 60.177,
"l": 44.314
},
"oklch": {
"l": 0.73664,
"c": 0.15384,
"h": 116.3
},
"luminance": 0.41237
}Semantic roles & 50–950 ramp
primary
#A5B52D
secondary
#8076C7
accent
#44E357
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B