#A5BB2B#A5BB2B
#A5BB2B is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.0% C 0.162 H 118.3°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BB2B |
|---|---|
| RGB | rgb(165, 187, 43) |
| HSL | hsl(69, 63%, 45%) |
| HSV | hsv(69, 77%, 73%) |
| CMYK | cmyk(11.8%, 0%, 77%, 26.7%) |
| CIE-LAB | lab(72.04, -25.50, 64.84) |
| CIE-LCH | lch(72.04, 69.67, 111.47°) |
| OKLab | oklab(75.02% -0.0766 0.1423) |
| OKLCH | oklch(75.02% 0.162 118.3) |
| XYZ | xyz(33.7242, 43.7147, 8.9462) |
| Luminance | 0.4371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.45
Sick Green
#9DB92C
ΔE00 1.64
Gross Green
#A0BF16
ΔE00 2.03
Bright Olive
#9CBB04
ΔE00 2.15
Snot
#ACBB0D
ΔE00 2.67
Booger Green
#96B403
ΔE00 2.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BB2B #412BBB
analogous
#BB892B #A5BB2B #5DBB2B
triadic
#A5BB2B #2BA5BB #BB2BA5
tetradic
#A5BB2B #2BBB89 #412BBB #BB2B5D
square
#A5BB2B #2BBB89 #412BBB #BB2B5D
split-complementary
#A5BB2B #2B5DBB #892BBB
monochromatic
#4D5714 #798920 #A5BB2B #C1D64D #D2E27F
Accessibility & contrast
On white
2.16
#A5BB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#A5BB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BB2B
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BB2B | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#AFB0A0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a5bb2b; /* rgb */ color: rgb(165, 187, 43); /* oklch */ color: oklch(75.0% 0.162 118.3);
Tailwind
colors: {
custom: {
50: '#c3cf70',
500: '#a5bb2b',
950: '#000000',
},
}SCSS
$custom: #a5bb2b; $custom-light: #c3cf70; $custom-dark: #000000;
JSON
{
"hex": "#a5bb2b",
"rgb": {
"r": 165,
"g": 187,
"b": 43
},
"hsl": {
"h": 69.167,
"s": 62.609,
"l": 45.098
},
"oklch": {
"l": 0.75024,
"c": 0.16161,
"h": 118.3
},
"luminance": 0.43714
}Semantic roles & 50–950 ramp
primary
#A5BB2B
secondary
#8478CA
accent
#42E65B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B