#A5B22B#A5B22B
#A5B22B is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.0% C 0.152 H 115.1°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B22B |
|---|---|
| RGB | rgb(165, 178, 43) |
| HSL | hsl(66, 61%, 43%) |
| HSV | hsv(66, 76%, 70%) |
| CMYK | cmyk(7.3%, 0%, 75.8%, 30.2%) |
| CIE-LAB | lab(69.48, -21.07, 62.48) |
| CIE-LCH | lch(69.48, 65.93, 108.64°) |
| OKLab | oklab(72.97% -0.0644 0.1373) |
| OKLCH | oklch(72.97% 0.152 115.1) |
| XYZ | xyz(31.8744, 40.0151, 8.3296) |
| Luminance | 0.4002 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.40
Puke Green
#9AAE07
ΔE00 2.46
Snot
#ACBB0D
ΔE00 3.29
Sick Green
#9DB92C
ΔE00 3.40
Barf Green
#94AC02
ΔE00 3.42
Booger Green
#96B403
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B22B #382BB2
analogous
#B27B2B #A5B22B #61B22B
triadic
#A5B22B #2BA5B2 #B22BA5
tetradic
#A5B22B #2BB27B #382BB2 #B22B61
square
#A5B22B #2BB27B #382BB2 #B22B61
split-complementary
#A5B22B #2B61B2 #7B2BB2
monochromatic
#4A4F13 #77811F #A5B22B #C5D348 #D5DF79
Accessibility & contrast
On white
2.33
#A5B22B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#A5B22B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B22B
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B22B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B22B | 1.00 | 2.33 | 9.00 | 9.00 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA908
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#B0A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b22b; /* rgb */ color: rgb(165, 178, 43); /* oklch */ color: oklch(73.0% 0.152 115.1);
Tailwind
colors: {
custom: {
50: '#c3c86f',
500: '#a5b22b',
950: '#000000',
},
}SCSS
$custom: #a5b22b; $custom-light: #c3c86f; $custom-dark: #000000;
JSON
{
"hex": "#a5b22b",
"rgb": {
"r": 165,
"g": 178,
"b": 43
},
"hsl": {
"h": 65.778,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.72969,
"c": 0.15164,
"h": 115.1
},
"luminance": 0.40015
}Semantic roles & 50–950 ramp
primary
#A5B22B
secondary
#7A72C7
accent
#44E453
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B