#A5B22D#A5B22D
#A5B22D is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.0% C 0.151 H 115.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B22D |
|---|---|
| RGB | rgb(165, 178, 45) |
| HSL | hsl(66, 60%, 44%) |
| HSV | hsv(66, 75%, 70%) |
| CMYK | cmyk(7.3%, 0%, 74.7%, 30.2%) |
| CIE-LAB | lab(69.49, -20.98, 61.83) |
| CIE-LCH | lch(69.49, 65.29, 108.74°) |
| OKLab | oklab(72.98% -0.064 0.1363) |
| OKLCH | oklch(72.98% 0.151 115.1) |
| XYZ | xyz(31.9120, 40.0301, 8.5276) |
| Luminance | 0.4003 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.55
Mustard Green
#A8B504
ΔE00 2.56
Sick Green
#9DB92C
ΔE00 3.37
Snot
#ACBB0D
ΔE00 3.41
Barf Green
#94AC02
ΔE00 3.47
Booger
#9BB53C
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B22D #3A2DB2
analogous
#B27C2D #A5B22D #62B22D
triadic
#A5B22D #2DA5B2 #B22DA5
tetradic
#A5B22D #2DB27C #3A2DB2 #B22D62
square
#A5B22D #2DB27C #3A2DB2 #B22D62
split-complementary
#A5B22D #2D62B2 #7C2DB2
monochromatic
#4A5014 #788121 #A5B22D #C4D14B #D4DE7C
Accessibility & contrast
On white
2.33
#A5B22D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#A5B22D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B22D
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B22D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B22D | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA90F
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#B0A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b22d; /* rgb */ color: rgb(165, 178, 45); /* oklch */ color: oklch(73.0% 0.151 115.1);
Tailwind
colors: {
custom: {
50: '#c3c870',
500: '#a5b22d',
950: '#000000',
},
}SCSS
$custom: #a5b22d; $custom-light: #c3c870; $custom-dark: #000000;
JSON
{
"hex": "#a5b22d",
"rgb": {
"r": 165,
"g": 178,
"b": 45
},
"hsl": {
"h": 65.865,
"s": 59.641,
"l": 43.725
},
"oklch": {
"l": 0.72981,
"c": 0.15053,
"h": 115.1
},
"luminance": 0.4003
}Semantic roles & 50–950 ramp
primary
#A5B22D
secondary
#7D75C6
accent
#45E354
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B