#5FAF30#5FAF30
#5FAF30 is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 67.8% C 0.178 H 136.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAF30 |
|---|---|
| RGB | rgb(95, 175, 48) |
| HSL | hsl(98, 57%, 44%) |
| HSV | hsv(98, 73%, 69%) |
| CMYK | cmyk(45.7%, 0%, 72.6%, 31.4%) |
| CIE-LAB | lab(64.41, -46.33, 54.38) |
| CIE-LCH | lch(64.41, 71.44, 130.43°) |
| OKLab | oklab(67.77% -0.1288 0.1227) |
| OKLCH | oklch(67.77% 0.178 136.4) |
| XYZ | xyz(20.5822, 33.3050, 8.1397) |
| Luminance | 0.3331 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.91
Nasty Green
#70B23F
ΔE00 2.35
Leaf
#71AA34
ΔE00 3.04
Kermit Green
#5CB200
ΔE00 3.07
Leafy Green
#51B73B
ΔE00 3.11
Leaf Green
#5CA904
ΔE00 3.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAF30 #8030AF
analogous
#9EAF30 #5FAF30 #30AF40
triadic
#5FAF30 #305FAF #AF305F
tetradic
#5FAF30 #309EAF #8030AF #AF4030
square
#5FAF30 #309EAF #8030AF #AF4030
split-complementary
#5FAF30 #4030AF #AF309E
monochromatic
#2B4F16 #457F23 #5FAF30 #7DCE4E #A1DC7E
Accessibility & contrast
On white
2.74
#5FAF30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#5FAF30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAF30
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAF30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAF30 | 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)
#B5A019
Deuteranopia (green-blind)
#AA9A3C
Tritanopia (blue-blind)
#5BA996
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5faf30; /* rgb */ color: rgb(95, 175, 48); /* oklch */ color: oklch(67.8% 0.178 136.4);
Tailwind
colors: {
custom: {
50: '#93c770',
500: '#5faf30',
950: '#000000',
},
}SCSS
$custom: #5faf30; $custom-light: #93c770; $custom-dark: #000000;
JSON
{
"hex": "#5faf30",
"rgb": {
"r": 95,
"g": 175,
"b": 48
},
"hsl": {
"h": 97.795,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.67769,
"c": 0.17787,
"h": 136.4
},
"luminance": 0.33306
}Semantic roles & 50–950 ramp
primary
#5FAF30
secondary
#A876C4
accent
#48E0A8
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B