#A5BB21#A5BB21
#A5BB21 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.166 H 118.1°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BB21 |
|---|---|
| RGB | rgb(165, 187, 33) |
| HSL | hsl(69, 70%, 43%) |
| HSV | hsv(69, 82%, 73%) |
| CMYK | cmyk(11.8%, 0%, 82.4%, 26.7%) |
| CIE-LAB | lab(71.99, -25.88, 67.61) |
| CIE-LCH | lch(71.99, 72.40, 110.94°) |
| OKLab | oklab(74.98% -0.0783 0.1465) |
| OKLCH | oklch(74.98% 0.166 118.1) |
| XYZ | xyz(33.5627, 43.6501, 8.0958) |
| Luminance | 0.4365 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.28
Gross Green
#A0BF16
ΔE00 1.82
Bright Olive
#9CBB04
ΔE00 1.83
Sick Green
#9DB92C
ΔE00 2.07
Snot
#ACBB0D
ΔE00 2.11
Mustard Green
#A8B504
ΔE00 2.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BB21 #3721BB
analogous
#BB8421 #A5BB21 #58BB21
triadic
#A5BB21 #21A5BB #BB21A5
tetradic
#A5BB21 #21BB84 #3721BB #BB2158
square
#A5BB21 #21BB84 #3721BB #BB2158
split-complementary
#A5BB21 #2158BB #8421BB
monochromatic
#49530F #778718 #A5BB21 #C6DD3D #D5E671
Accessibility & contrast
On white
2.16
#A5BB21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#A5BB21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BB21
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BB21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BB21 | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C6B132
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a5bb21; /* rgb */ color: rgb(165, 187, 33); /* oklch */ color: oklch(75.0% 0.166 118.1);
Tailwind
colors: {
custom: {
50: '#c4cf6c',
500: '#a5bb21',
950: '#000000',
},
}SCSS
$custom: #a5bb21; $custom-light: #c4cf6c; $custom-dark: #000000;
JSON
{
"hex": "#a5bb21",
"rgb": {
"r": 165,
"g": 187,
"b": 33
},
"hsl": {
"h": 68.571,
"s": 70,
"l": 43.137
},
"oklch": {
"l": 0.74975,
"c": 0.16615,
"h": 118.1
},
"luminance": 0.4365
}Semantic roles & 50–950 ramp
primary
#A5BB21
secondary
#796BCC
accent
#3BED54
background
#FCFCF6
surface
#F8F9EC
border
#D1D2C7
text
#131308
muted
#82827A