#5FAF2C#5FAF2C
#5FAF2C 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.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAF2C |
|---|---|
| RGB | rgb(95, 175, 44) |
| HSL | hsl(97, 60%, 43%) |
| HSV | hsv(97, 75%, 69%) |
| CMYK | cmyk(45.7%, 0%, 74.9%, 31.4%) |
| CIE-LAB | lab(64.38, -46.60, 55.80) |
| CIE-LCH | lch(64.38, 72.70, 129.87°) |
| OKLab | oklab(67.74% -0.1298 0.1251) |
| OKLCH | oklch(67.74% 0.18 136.1) |
| XYZ | xyz(20.5034, 33.2734, 7.7244) |
| Luminance | 0.3327 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.99
Nasty Green
#70B23F
ΔE00 2.50
Kermit Green
#5CB200
ΔE00 2.68
Leaf Green
#5CA904
ΔE00 2.87
Leaf
#71AA34
ΔE00 3.00
Leafy Green
#51B73B
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAF2C #7C2CAF
analogous
#A0AF2C #5FAF2C #2CAF3A
triadic
#5FAF2C #2C5FAF #AF2C5F
tetradic
#5FAF2C #2CA0AF #7C2CAF #AF3A2C
square
#5FAF2C #2CA0AF #7C2CAF #AF3A2C
split-complementary
#5FAF2C #3A2CAF #AF2CA0
monochromatic
#2A4D13 #447E20 #5FAF2C #7DD147 #A0DD78
Accessibility & contrast
On white
2.74
#5FAF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#5FAF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAF2C
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAF2C | 1.00 | 2.74 | 7.65 | 7.65 |
| #FFFFFF | 2.74 | 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)
#B5A011
Deuteranopia (green-blind)
#AB9A39
Tritanopia (blue-blind)
#5CA896
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5faf2c; /* rgb */ color: rgb(95, 175, 44); /* oklch */ color: oklch(67.7% 0.180 136.1);
Tailwind
colors: {
custom: {
50: '#93c76e',
500: '#5faf2c',
950: '#000000',
},
}SCSS
$custom: #5faf2c; $custom-light: #93c76e; $custom-dark: #000000;
JSON
{
"hex": "#5faf2c",
"rgb": {
"r": 95,
"g": 175,
"b": 44
},
"hsl": {
"h": 96.641,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.6774,
"c": 0.18025,
"h": 136.1
},
"luminance": 0.33275
}Semantic roles & 50–950 ramp
primary
#5FAF2C
secondary
#A572C5
accent
#45E3A5
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B