#A5B025#A5B025
#A5B025 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.153 H 114.3°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B025 |
|---|---|
| RGB | rgb(165, 176, 37) |
| HSL | hsl(65, 65%, 42%) |
| HSV | hsv(65, 79%, 69%) |
| CMYK | cmyk(6.2%, 0%, 79%, 31%) |
| CIE-LAB | lab(68.88, -20.32, 63.79) |
| CIE-LCH | lch(68.88, 66.95, 107.67°) |
| OKLab | oklab(72.48% -0.0628 0.139) |
| OKLCH | oklch(72.48% 0.153 114.3) |
| XYZ | xyz(31.3773, 39.1842, 7.6603) |
| Luminance | 0.3918 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.23
Puke Green
#9AAE07
ΔE00 2.33
Barf Green
#94AC02
ΔE00 3.37
Snot
#ACBB0D
ΔE00 3.45
Pea Soup Green
#94A617
ΔE00 3.71
Vomit
#A2A415
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B025 #3025B0
analogous
#B07625 #A5B025 #60B025
triadic
#A5B025 #25A5B0 #B025A5
tetradic
#A5B025 #25B076 #3025B0 #B02560
square
#A5B025 #25B076 #3025B0 #B02560
split-complementary
#A5B025 #2560B0 #7625B0
monochromatic
#464B10 #767D1A #A5B025 #CAD63C #D8E16F
Accessibility & contrast
On white
2.38
#A5B025 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#A5B025 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B025
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B025 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B025 | 1.00 | 2.38 | 8.84 | 8.84 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDA932
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a5b025; /* rgb */ color: rgb(165, 176, 37); /* oklch */ color: oklch(72.5% 0.153 114.3);
Tailwind
colors: {
custom: {
50: '#c3c76c',
500: '#a5b025',
950: '#000000',
},
}SCSS
$custom: #a5b025; $custom-light: #c3c76c; $custom-dark: #000000;
JSON
{
"hex": "#a5b025",
"rgb": {
"r": 165,
"g": 176,
"b": 37
},
"hsl": {
"h": 64.748,
"s": 65.258,
"l": 41.765
},
"oklch": {
"l": 0.72481,
"c": 0.15253,
"h": 114.3
},
"luminance": 0.39184
}Semantic roles & 50–950 ramp
primary
#A5B025
secondary
#716AC7
accent
#40E84D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A