#5FAF26#5FAF26
#5FAF26 is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 67.7% C 0.183 H 135.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAF26 |
|---|---|
| RGB | rgb(95, 175, 38) |
| HSL | hsl(95, 64%, 42%) |
| HSV | hsv(95, 78%, 69%) |
| CMYK | cmyk(45.7%, 0%, 78.3%, 31.4%) |
| CIE-LAB | lab(64.35, -46.97, 57.76) |
| CIE-LCH | lch(64.35, 74.44, 129.12°) |
| OKLab | oklab(67.7% -0.1311 0.1283) |
| OKLCH | oklch(67.7% 0.183 135.6) |
| XYZ | xyz(20.3986, 33.2315, 7.1728) |
| Luminance | 0.3323 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.32
Kermit Green
#5CB200
ΔE00 2.15
Leaf Green
#5CA904
ΔE00 2.45
Nasty Green
#70B23F
ΔE00 2.79
Leaf
#71AA34
ΔE00 3.03
Leafy Green
#51B73B
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAF26 #7626AF
analogous
#A4AF26 #5FAF26 #26AF31
triadic
#5FAF26 #265FAF #AF265F
tetradic
#5FAF26 #26A4AF #7626AF #AF3126
square
#5FAF26 #26A4AF #7626AF #AF3126
split-complementary
#5FAF26 #3126AF #AF26A4
monochromatic
#284A10 #447D1B #5FAF26 #7CD53D #9EE070
Accessibility & contrast
On white
2.75
#5FAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#5FAF26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAF26
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAF26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAF26 | 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)
#B5A000
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#5CA896
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5faf26; /* rgb */ color: rgb(95, 175, 38); /* oklch */ color: oklch(67.7% 0.183 135.6);
Tailwind
colors: {
custom: {
50: '#94c76c',
500: '#5faf26',
950: '#000000',
},
}SCSS
$custom: #5faf26; $custom-light: #94c76c; $custom-dark: #000000;
JSON
{
"hex": "#5faf26",
"rgb": {
"r": 95,
"g": 175,
"b": 38
},
"hsl": {
"h": 95.036,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.67701,
"c": 0.18348,
"h": 135.6
},
"luminance": 0.33233
}Semantic roles & 50–950 ramp
primary
#5FAF26
secondary
#A06AC7
accent
#40E7A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A