#5FAF2D#5FAF2D
#5FAF2D is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 67.7% C 0.180 H 136.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAF2D |
|---|---|
| RGB | rgb(95, 175, 45) |
| HSL | hsl(97, 59%, 43%) |
| HSV | hsv(97, 74%, 69%) |
| CMYK | cmyk(45.7%, 0%, 74.3%, 31.4%) |
| CIE-LAB | lab(64.39, -46.54, 55.45) |
| CIE-LCH | lch(64.39, 72.39, 130.01°) |
| OKLab | oklab(67.75% -0.1295 0.1245) |
| OKLCH | oklch(67.75% 0.18 136.1) |
| XYZ | xyz(20.5224, 33.2810, 7.8246) |
| Luminance | 0.3328 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.95
Nasty Green
#70B23F
ΔE00 2.46
Kermit Green
#5CB200
ΔE00 2.77
Leaf Green
#5CA904
ΔE00 2.96
Leaf
#71AA34
ΔE00 3.00
Leafy Green
#51B73B
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAF2D #7D2DAF
analogous
#A0AF2D #5FAF2D #2DAF3C
triadic
#5FAF2D #2D5FAF #AF2D5F
tetradic
#5FAF2D #2DA0AF #7D2DAF #AF3C2D
square
#5FAF2D #2DA0AF #7D2DAF #AF3C2D
split-complementary
#5FAF2D #3C2DAF #AF2DA0
monochromatic
#2A4E14 #457E20 #5FAF2D #7DD049 #A0DD7A
Accessibility & contrast
On white
2.74
#5FAF2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#5FAF2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAF2D
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAF2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAF2D | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A013
Deuteranopia (green-blind)
#AB9A3A
Tritanopia (blue-blind)
#5CA896
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5faf2d; /* rgb */ color: rgb(95, 175, 45); /* oklch */ color: oklch(67.7% 0.180 136.1);
Tailwind
colors: {
custom: {
50: '#93c76f',
500: '#5faf2d',
950: '#000000',
},
}SCSS
$custom: #5faf2d; $custom-light: #93c76f; $custom-dark: #000000;
JSON
{
"hex": "#5faf2d",
"rgb": {
"r": 95,
"g": 175,
"b": 45
},
"hsl": {
"h": 96.923,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.67747,
"c": 0.17967,
"h": 136.1
},
"luminance": 0.33282
}Semantic roles & 50–950 ramp
primary
#5FAF2D
secondary
#A573C5
accent
#46E2A6
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B