#5FB540#5FB540
#5FB540 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.4% C 0.174 H 138.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5FB540 |
|---|---|
| RGB | rgb(95, 181, 64) |
| HSL | hsl(104, 48%, 48%) |
| HSV | hsv(104, 65%, 71%) |
| CMYK | cmyk(47.5%, 0%, 64.6%, 29%) |
| CIE-LAB | lab(66.40, -47.42, 50.07) |
| CIE-LCH | lch(66.40, 68.96, 133.44°) |
| OKLab | oklab(69.45% -0.1306 0.1157) |
| OKLCH | oklch(69.45% 0.174 138.5) |
| XYZ | xyz(22.1678, 35.8493, 10.6010) |
| Luminance | 0.3585 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Leafy Green
#51B73B
ΔE00 1.54
Nasty Green
#70B23F
ΔE00 2.56
Turtle Green
#75B84F
ΔE00 2.89
Grass
#5CAC2D
ΔE00 3.04
Kelly Green
#4CBB17
ΔE00 3.99
Kermit Green
#5CB200
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FB540 #9640B5
analogous
#99B540 #5FB540 #40B55C
triadic
#5FB540 #405FB5 #B5405F
tetradic
#5FB540 #4099B5 #9640B5 #B55C40
square
#5FB540 #4099B5 #9640B5 #B55C40
split-complementary
#5FB540 #5C40B5 #B54099
monochromatic
#305B20 #478830 #5FB540 #82CA68 #A8DA96
Accessibility & contrast
On white
2.57
#5FB540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#5FB540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FB540
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FB540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FB540 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA631
Deuteranopia (green-blind)
#AF9F4A
Tritanopia (blue-blind)
#59AF9D
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #5fb540; /* rgb */ color: rgb(95, 181, 64); /* oklch */ color: oklch(69.4% 0.174 138.5);
Tailwind
colors: {
custom: {
50: '#93cc7a',
500: '#5fb540',
950: '#000000',
},
}SCSS
$custom: #5fb540; $custom-light: #93cc7a; $custom-dark: #000000;
JSON
{
"hex": "#5fb540",
"rgb": {
"r": 95,
"g": 181,
"b": 64
},
"hsl": {
"h": 104.103,
"s": 47.755,
"l": 48.039
},
"oklch": {
"l": 0.69448,
"c": 0.17449,
"h": 138.5
},
"luminance": 0.35851
}Semantic roles & 50–950 ramp
primary
#5FB540
secondary
#B68BC5
accent
#50D7B4
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0E1309
muted
#7E827B