#5FAF27#5FAF27
#5FAF27 is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 67.7% C 0.183 H 135.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAF27 |
|---|---|
| RGB | rgb(95, 175, 39) |
| HSL | hsl(95, 64%, 42%) |
| HSV | hsv(95, 78%, 69%) |
| CMYK | cmyk(45.7%, 0%, 77.7%, 31.4%) |
| CIE-LAB | lab(64.35, -46.91, 57.44) |
| CIE-LCH | lch(64.35, 74.17, 129.24°) |
| OKLab | oklab(67.71% -0.1309 0.1278) |
| OKLCH | oklch(67.71% 0.183 135.7) |
| XYZ | xyz(20.4150, 33.2381, 7.2589) |
| Luminance | 0.3324 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.25
Kermit Green
#5CB200
ΔE00 2.23
Leaf Green
#5CA904
ΔE00 2.51
Nasty Green
#70B23F
ΔE00 2.74
Leaf
#71AA34
ΔE00 3.02
Leafy Green
#51B73B
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAF27 #7727AF
analogous
#A3AF27 #5FAF27 #27AF33
triadic
#5FAF27 #275FAF #AF275F
tetradic
#5FAF27 #27A3AF #7727AF #AF3327
square
#5FAF27 #27A3AF #7727AF #AF3327
split-complementary
#5FAF27 #3327AF #AF27A3
monochromatic
#294B11 #447D1C #5FAF27 #7CD43F #9EDF71
Accessibility & contrast
On white
2.75
#5FAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#5FAF27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAF27
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAF27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAF27 | 1.00 | 2.75 | 7.65 | 7.65 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A001
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#5CA896
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5faf27; /* rgb */ color: rgb(95, 175, 39); /* oklch */ color: oklch(67.7% 0.183 135.7);
Tailwind
colors: {
custom: {
50: '#94c76c',
500: '#5faf27',
950: '#000000',
},
}SCSS
$custom: #5faf27; $custom-light: #94c76c; $custom-dark: #000000;
JSON
{
"hex": "#5faf27",
"rgb": {
"r": 95,
"g": 175,
"b": 39
},
"hsl": {
"h": 95.294,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.67707,
"c": 0.18296,
"h": 135.7
},
"luminance": 0.33239
}Semantic roles & 50–950 ramp
primary
#5FAF27
secondary
#A16BC6
accent
#41E7A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A