#A5B22E#A5B22E
#A5B22E is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.0% C 0.150 H 115.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B22E |
|---|---|
| RGB | rgb(165, 178, 46) |
| HSL | hsl(66, 59%, 44%) |
| HSV | hsv(66, 74%, 70%) |
| CMYK | cmyk(7.3%, 0%, 74.2%, 30.2%) |
| CIE-LAB | lab(69.50, -20.93, 61.50) |
| CIE-LCH | lch(69.50, 64.96, 108.80°) |
| OKLab | oklab(72.99% -0.0637 0.1358) |
| OKLCH | oklch(72.99% 0.15 115.2) |
| XYZ | xyz(31.9315, 40.0379, 8.6302) |
| Luminance | 0.4004 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.60
Mustard Green
#A8B504
ΔE00 2.65
Sick Green
#9DB92C
ΔE00 3.36
Snot
#ACBB0D
ΔE00 3.47
Barf Green
#94AC02
ΔE00 3.51
Booger
#9BB53C
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B22E #3B2EB2
analogous
#B27D2E #A5B22E #63B22E
triadic
#A5B22E #2EA5B2 #B22EA5
tetradic
#A5B22E #2EB27D #3B2EB2 #B22E63
square
#A5B22E #2EB27D #3B2EB2 #B22E63
split-complementary
#A5B22E #2E63B2 #7D2EB2
monochromatic
#4B5115 #788121 #A5B22E #C4D14C #D4DD7D
Accessibility & contrast
On white
2.33
#A5B22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#A5B22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B22E
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B22E | 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)
#BFA912
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#B0A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b22e; /* rgb */ color: rgb(165, 178, 46); /* oklch */ color: oklch(73.0% 0.150 115.2);
Tailwind
colors: {
custom: {
50: '#c3c871',
500: '#a5b22e',
950: '#000000',
},
}SCSS
$custom: #a5b22e; $custom-light: #c3c871; $custom-dark: #000000;
JSON
{
"hex": "#a5b22e",
"rgb": {
"r": 165,
"g": 178,
"b": 46
},
"hsl": {
"h": 65.909,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.72987,
"c": 0.14997,
"h": 115.2
},
"luminance": 0.40037
}Semantic roles & 50–950 ramp
primary
#A5B22E
secondary
#7E76C6
accent
#46E255
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B