#A5BA25#A5BA25
#A5BA25 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.163 H 117.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BA25 |
|---|---|
| RGB | rgb(165, 186, 37) |
| HSL | hsl(68, 67%, 44%) |
| HSV | hsv(68, 80%, 73%) |
| CMYK | cmyk(11.3%, 0%, 80.1%, 27.1%) |
| CIE-LAB | lab(71.73, -25.25, 66.32) |
| CIE-LCH | lch(71.73, 70.96, 110.84°) |
| OKLab | oklab(74.76% -0.0764 0.1444) |
| OKLCH | oklch(74.76% 0.163 117.9) |
| XYZ | xyz(33.4107, 43.2511, 8.3381) |
| Luminance | 0.4325 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.59
Sick Green
#9DB92C
ΔE00 1.94
Bright Olive
#9CBB04
ΔE00 2.06
Gross Green
#A0BF16
ΔE00 2.13
Snot
#ACBB0D
ΔE00 2.23
Mustard Green
#A8B504
ΔE00 2.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BA25 #3A25BA
analogous
#BA8425 #A5BA25 #5ABA25
triadic
#A5BA25 #25A5BA #BA25A5
tetradic
#A5BA25 #25BA84 #3A25BA #BA255A
square
#A5BA25 #25BA84 #3A25BA #BA255A
split-complementary
#A5BA25 #255ABA #8425BA
monochromatic
#4A5411 #78871B #A5BA25 #C4DA43 #D4E476
Accessibility & contrast
On white
2.18
#A5BA25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#A5BA25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BA25
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BA25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BA25 | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C5B034
Tritanopia (blue-blind)
#AFAF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a5ba25; /* rgb */ color: rgb(165, 186, 37); /* oklch */ color: oklch(74.8% 0.163 117.9);
Tailwind
colors: {
custom: {
50: '#c4ce6e',
500: '#a5ba25',
950: '#000000',
},
}SCSS
$custom: #a5ba25; $custom-light: #c4ce6e; $custom-dark: #000000;
JSON
{
"hex": "#a5ba25",
"rgb": {
"r": 165,
"g": 186,
"b": 37
},
"hsl": {
"h": 68.456,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.74764,
"c": 0.16337,
"h": 117.9
},
"luminance": 0.43251
}Semantic roles & 50–950 ramp
primary
#A5BA25
secondary
#7D70CB
accent
#3EEA56
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B