#A5BD21#A5BD21
#A5BD21 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.4% C 0.168 H 118.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BD21 |
|---|---|
| RGB | rgb(165, 189, 33) |
| HSL | hsl(69, 70%, 44%) |
| HSV | hsv(69, 83%, 74%) |
| CMYK | cmyk(12.7%, 0%, 82.5%, 25.9%) |
| CIE-LAB | lab(72.56, -26.84, 68.11) |
| CIE-LCH | lch(72.56, 73.21, 111.51°) |
| OKLab | oklab(75.43% -0.081 0.1476) |
| OKLCH | oklch(75.43% 0.168 118.8) |
| XYZ | xyz(33.9900, 44.5046, 8.2382) |
| Luminance | 0.4450 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 0.69
Gross Green
#A0BF16
ΔE00 1.33
Bright Olive
#9CBB04
ΔE00 1.67
Sick Green
#9DB92C
ΔE00 2.10
Snot Green
#9DC100
ΔE00 2.30
Snot
#ACBB0D
ΔE00 2.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BD21 #3921BD
analogous
#BD8721 #A5BD21 #57BD21
triadic
#A5BD21 #21A5BD #BD21A5
tetradic
#A5BD21 #21BD87 #3921BD #BD2157
square
#A5BD21 #21BD87 #3921BD #BD2157
split-complementary
#A5BD21 #2157BD #8721BD
monochromatic
#4A550F #788918 #A5BD21 #C5DD3E #D4E672
Accessibility & contrast
On white
2.12
#A5BD21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#A5BD21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BD21
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BD21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BD21 | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C7B332
Tritanopia (blue-blind)
#AFB2A1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #a5bd21; /* rgb */ color: rgb(165, 189, 33); /* oklch */ color: oklch(75.4% 0.168 118.8);
Tailwind
colors: {
custom: {
50: '#c4d06d',
500: '#a5bd21',
950: '#000000',
},
}SCSS
$custom: #a5bd21; $custom-light: #c4d06d; $custom-dark: #000000;
JSON
{
"hex": "#a5bd21",
"rgb": {
"r": 165,
"g": 189,
"b": 33
},
"hsl": {
"h": 69.231,
"s": 70.27,
"l": 43.529
},
"oklch": {
"l": 0.75434,
"c": 0.16835,
"h": 118.8
},
"luminance": 0.44504
}Semantic roles & 50–950 ramp
primary
#A5BD21
secondary
#7B6DCD
accent
#3BED56
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B