#5FAF38#5FAF38
#5FAF38 is a light, vivid green. Relative luminance 0.334; OKLCH L 67.8% C 0.173 H 137.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAF38 |
|---|---|
| RGB | rgb(95, 175, 56) |
| HSL | hsl(100, 52%, 45%) |
| HSV | hsv(100, 68%, 69%) |
| CMYK | cmyk(45.7%, 0%, 68%, 31.4%) |
| CIE-LAB | lab(64.47, -45.70, 51.33) |
| CIE-LCH | lch(64.47, 68.73, 131.68°) |
| OKLab | oklab(67.84% -0.1265 0.1174) |
| OKLCH | oklch(67.84% 0.173 137.1) |
| XYZ | xyz(20.7625, 33.3771, 9.0890) |
| Luminance | 0.3338 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.33
Nasty Green
#70B23F
ΔE00 2.27
Leafy Green
#51B73B
ΔE00 2.79
Leaf
#71AA34
ΔE00 3.31
Turtle Green
#75B84F
ΔE00 3.81
Kermit Green
#5CB200
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAF38 #8838AF
analogous
#9AAF38 #5FAF38 #38AF4C
triadic
#5FAF38 #385FAF #AF385F
tetradic
#5FAF38 #389AAF #8838AF #AF4C38
square
#5FAF38 #389AAF #8838AF #AF4C38
split-complementary
#5FAF38 #4C38AF #AF389A
monochromatic
#2D521A #468129 #5FAF38 #7FCA5A #A3D988
Accessibility & contrast
On white
2.74
#5FAF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#5FAF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAF38
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAF38 | 1.00 | 2.74 | 7.68 | 7.68 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A127
Deuteranopia (green-blind)
#AA9A43
Tritanopia (blue-blind)
#5BA997
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5faf38; /* rgb */ color: rgb(95, 175, 56); /* oklch */ color: oklch(67.8% 0.173 137.1);
Tailwind
colors: {
custom: {
50: '#93c775',
500: '#5faf38',
950: '#000000',
},
}SCSS
$custom: #5faf38; $custom-light: #93c775; $custom-dark: #000000;
JSON
{
"hex": "#5faf38",
"rgb": {
"r": 95,
"g": 175,
"b": 56
},
"hsl": {
"h": 100.336,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.67835,
"c": 0.17258,
"h": 137.1
},
"luminance": 0.33378
}Semantic roles & 50–950 ramp
primary
#5FAF38
secondary
#AD80C3
accent
#4DDBAC
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1309
muted
#7E827B