#A5BA2E#A5BA2E
#A5BA2E is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.159 H 118.0°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BA2E |
|---|---|
| RGB | rgb(165, 186, 46) |
| HSL | hsl(69, 60%, 45%) |
| HSV | hsv(69, 75%, 73%) |
| CMYK | cmyk(11.3%, 0%, 75.3%, 27.1%) |
| CIE-LAB | lab(71.77, -24.88, 63.64) |
| CIE-LCH | lch(71.77, 68.33, 111.35°) |
| OKLab | oklab(74.81% -0.0746 0.1403) |
| OKLCH | oklch(74.81% 0.159 118) |
| XYZ | xyz(33.5699, 43.3147, 9.1764) |
| Luminance | 0.4331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.60
Pea
#A4BF20
ΔE00 1.83
Gross Green
#A0BF16
ΔE00 2.39
Bright Olive
#9CBB04
ΔE00 2.43
Snot
#ACBB0D
ΔE00 2.82
Booger
#9BB53C
ΔE00 2.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BA2E #432EBA
analogous
#BA892E #A5BA2E #5FBA2E
triadic
#A5BA2E #2EA5BA #BA2EA5
tetradic
#A5BA2E #2EBA89 #432EBA #BA2E5F
square
#A5BA2E #2EBA89 #432EBA #BA2E5F
split-complementary
#A5BA2E #2E5FBA #892EBA
monochromatic
#4E5816 #798922 #A5BA2E #C0D451 #D2E082
Accessibility & contrast
On white
2.17
#A5BA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#A5BA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BA2E
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BA2E | 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)
#C7B00C
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#AFB0A0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a5ba2e; /* rgb */ color: rgb(165, 186, 46); /* oklch */ color: oklch(74.8% 0.159 118.0);
Tailwind
colors: {
custom: {
50: '#c3ce72',
500: '#a5ba2e',
950: '#000000',
},
}SCSS
$custom: #a5ba2e; $custom-light: #c3ce72; $custom-dark: #000000;
JSON
{
"hex": "#a5ba2e",
"rgb": {
"r": 165,
"g": 186,
"b": 46
},
"hsl": {
"h": 69,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.74812,
"c": 0.1589,
"h": 118
},
"luminance": 0.43314
}Semantic roles & 50–950 ramp
primary
#A5BA2E
secondary
#867BC9
accent
#44E35C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B