#A5BA2B#A5BA2B
#A5BA2B is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.160 H 118.0°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BA2B |
|---|---|
| RGB | rgb(165, 186, 43) |
| HSL | hsl(69, 62%, 45%) |
| HSV | hsv(69, 77%, 73%) |
| CMYK | cmyk(11.3%, 0%, 76.9%, 27.1%) |
| CIE-LAB | lab(71.75, -25.01, 64.58) |
| CIE-LCH | lch(71.75, 69.25, 111.17°) |
| OKLab | oklab(74.8% -0.0753 0.1417) |
| OKLCH | oklch(74.8% 0.16 118) |
| XYZ | xyz(33.5128, 43.2919, 8.8757) |
| Luminance | 0.4329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.69
Pea
#A4BF20
ΔE00 1.72
Gross Green
#A0BF16
ΔE00 2.27
Bright Olive
#9CBB04
ΔE00 2.28
Snot
#ACBB0D
ΔE00 2.61
Booger Green
#96B403
ΔE00 2.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BA2B #402BBA
analogous
#BA872B #A5BA2B #5EBA2B
triadic
#A5BA2B #2BA5BA #BA2BA5
tetradic
#A5BA2B #2BBA87 #402BBA #BA2B5E
square
#A5BA2B #2BBA87 #402BBA #BA2B5E
split-complementary
#A5BA2B #2B5EBA #872BBA
monochromatic
#4D5714 #798820 #A5BA2B #C2D64C #D3E17E
Accessibility & contrast
On white
2.17
#A5BA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#A5BA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BA2B
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BA2B | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B001
Deuteranopia (green-blind)
#C5B038
Tritanopia (blue-blind)
#AFAF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a5ba2b; /* rgb */ color: rgb(165, 186, 43); /* oklch */ color: oklch(74.8% 0.160 118.0);
Tailwind
colors: {
custom: {
50: '#c3ce70',
500: '#a5ba2b',
950: '#000000',
},
}SCSS
$custom: #a5ba2b; $custom-light: #c3ce70; $custom-dark: #000000;
JSON
{
"hex": "#a5ba2b",
"rgb": {
"r": 165,
"g": 186,
"b": 43
},
"hsl": {
"h": 68.811,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.74795,
"c": 0.16049,
"h": 118
},
"luminance": 0.43292
}Semantic roles & 50–950 ramp
primary
#A5BA2B
secondary
#8377CA
accent
#42E65A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B