#5A9F25#5A9F25
#5A9F25 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.167 H 134.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9F25 |
|---|---|
| RGB | rgb(90, 159, 37) |
| HSL | hsl(94, 62%, 38%) |
| HSV | hsv(94, 77%, 62%) |
| CMYK | cmyk(43.4%, 0%, 76.7%, 37.6%) |
| CIE-LAB | lab(59.07, -42.15, 52.95) |
| CIE-LCH | lch(59.07, 67.68, 128.52°) |
| OKLab | oklab(63.31% -0.1179 0.1182) |
| OKLCH | oklch(63.31% 0.167 134.9) |
| XYZ | xyz(16.9481, 27.1025, 6.0882) |
| Luminance | 0.2710 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.58
Grassy Green
#419C03
ΔE00 3.07
Grass Green
#3F9B0B
ΔE00 3.28
Leaf Green
#5CA904
ΔE00 3.87
Grass
#5CAC2D
ΔE00 3.91
Leaf
#71AA34
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9F25 #6A259F
analogous
#979F25 #5A9F25 #259F2D
triadic
#5A9F25 #255A9F #9F255A
tetradic
#5A9F25 #25979F #6A259F #9F2D25
square
#5A9F25 #25979F #6A259F #9F2D25
split-complementary
#5A9F25 #2D259F #9F2597
monochromatic
#223C0E #3E6D19 #5A9F25 #76CF32 #97DB64
Accessibility & contrast
On white
3.27
#5A9F25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#5A9F25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9F25
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9F25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9F25 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59208
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#589988
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5a9f25; /* rgb */ color: rgb(90, 159, 37); /* oklch */ color: oklch(63.3% 0.167 134.9);
Tailwind
colors: {
custom: {
50: '#8fbc69',
500: '#5a9f25',
950: '#000000',
},
}SCSS
$custom: #5a9f25; $custom-light: #8fbc69; $custom-dark: #000000;
JSON
{
"hex": "#5a9f25",
"rgb": {
"r": 90,
"g": 159,
"b": 37
},
"hsl": {
"h": 93.934,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.63307,
"c": 0.16694,
"h": 134.9
},
"luminance": 0.27104
}Semantic roles & 50–950 ramp
primary
#5A9F25
secondary
#965FC0
accent
#42E59F
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A