#A5BD28#A5BD28
#A5BD28 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.5% C 0.165 H 118.9°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BD28 |
|---|---|
| RGB | rgb(165, 189, 40) |
| HSL | hsl(70, 65%, 45%) |
| HSV | hsv(70, 79%, 74%) |
| CMYK | cmyk(12.7%, 0%, 78.8%, 25.9%) |
| CIE-LAB | lab(72.59, -26.59, 66.25) |
| CIE-LCH | lch(72.59, 71.38, 111.87°) |
| OKLab | oklab(75.47% -0.0798 0.1448) |
| OKLCH | oklch(75.47% 0.165 118.9) |
| XYZ | xyz(34.0984, 44.5480, 8.8094) |
| Luminance | 0.4455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 0.83
Gross Green
#A0BF16
ΔE00 1.48
Sick Green
#9DB92C
ΔE00 1.80
Bright Olive
#9CBB04
ΔE00 1.88
Snot Green
#9DC100
ΔE00 2.48
Snot
#ACBB0D
ΔE00 2.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BD28 #4028BD
analogous
#BD8A28 #A5BD28 #5BBD28
triadic
#A5BD28 #28A5BD #BD28A5
tetradic
#A5BD28 #28BD8A #4028BD #BD285B
square
#A5BD28 #28BD8A #4028BD #BD285B
split-complementary
#A5BD28 #285BBD #8A28BD
monochromatic
#4D5813 #798A1D #A5BD28 #C2D94A #D3E37C
Accessibility & contrast
On white
2.12
#A5BD28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#A5BD28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BD28
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BD28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BD28 | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C7B337
Tritanopia (blue-blind)
#AFB2A2
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #a5bd28; /* rgb */ color: rgb(165, 189, 40); /* oklch */ color: oklch(75.5% 0.165 118.9);
Tailwind
colors: {
custom: {
50: '#c4d06f',
500: '#a5bd28',
950: '#000000',
},
}SCSS
$custom: #a5bd28; $custom-light: #c4d06f; $custom-dark: #000000;
JSON
{
"hex": "#a5bd28",
"rgb": {
"r": 165,
"g": 189,
"b": 40
},
"hsl": {
"h": 69.664,
"s": 65.066,
"l": 44.902
},
"oklch": {
"l": 0.75467,
"c": 0.16532,
"h": 118.9
},
"luminance": 0.44548
}Semantic roles & 50–950 ramp
primary
#A5BD28
secondary
#8375CB
accent
#40E85B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B