#5FA827#5FA827
#5FA827 is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 65.9% C 0.174 H 135.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA827 |
|---|---|
| RGB | rgb(95, 168, 39) |
| HSL | hsl(94, 62%, 41%) |
| HSV | hsv(94, 77%, 66%) |
| CMYK | cmyk(43.5%, 0%, 76.8%, 34.1%) |
| CIE-LAB | lab(62.15, -44.07, 55.34) |
| CIE-LCH | lch(62.15, 70.74, 128.53°) |
| OKLab | oklab(65.9% -0.1233 0.1234) |
| OKLCH | oklch(65.9% 0.174 135) |
| XYZ | xyz(19.0877, 30.5836, 6.8165) |
| Luminance | 0.3059 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.41
Leaf Green
#5CA904
ΔE00 2.07
Leaf
#71AA34
ΔE00 2.52
Lawn Green
#4DA409
ΔE00 2.52
Kermit Green
#5CB200
ΔE00 3.69
Nasty Green
#70B23F
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA827 #7027A8
analogous
#A0A827 #5FA827 #27A82F
triadic
#5FA827 #275FA8 #A8275F
tetradic
#5FA827 #27A0A8 #7027A8 #A82F27
square
#5FA827 #27A0A8 #7027A8 #A82F27
split-complementary
#5FA827 #2F27A8 #A827A0
monochromatic
#274510 #43761B #5FA827 #7CD13B #9DDD6C
Accessibility & contrast
On white
2.95
#5FA827 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#5FA827 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FA827
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA827 | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A07
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#5DA190
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5fa827; /* rgb */ color: rgb(95, 168, 39); /* oklch */ color: oklch(65.9% 0.174 135.0);
Tailwind
colors: {
custom: {
50: '#93c26b',
500: '#5fa827',
950: '#000000',
},
}SCSS
$custom: #5fa827; $custom-light: #93c26b; $custom-dark: #000000;
JSON
{
"hex": "#5fa827",
"rgb": {
"r": 95,
"g": 168,
"b": 39
},
"hsl": {
"h": 93.953,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.65903,
"c": 0.17442,
"h": 135
},
"luminance": 0.30585
}Semantic roles & 50–950 ramp
primary
#5FA827
secondary
#9B67C3
accent
#42E59F
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1207
muted
#7E817A