#5FAF29#5FAF29
#5FAF29 is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 67.7% C 0.182 H 135.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAF29 |
|---|---|
| RGB | rgb(95, 175, 41) |
| HSL | hsl(96, 62%, 42%) |
| HSV | hsv(96, 77%, 69%) |
| CMYK | cmyk(45.7%, 0%, 76.6%, 31.4%) |
| CIE-LAB | lab(64.36, -46.79, 56.80) |
| CIE-LCH | lch(64.36, 73.59, 129.48°) |
| OKLab | oklab(67.72% -0.1305 0.1268) |
| OKLCH | oklch(67.72% 0.182 135.8) |
| XYZ | xyz(20.4490, 33.2517, 7.4381) |
| Luminance | 0.3325 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.13
Kermit Green
#5CB200
ΔE00 2.40
Nasty Green
#70B23F
ΔE00 2.64
Leaf Green
#5CA904
ΔE00 2.65
Leaf
#71AA34
ΔE00 3.00
Leafy Green
#51B73B
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAF29 #7929AF
analogous
#A2AF29 #5FAF29 #29AF36
triadic
#5FAF29 #295FAF #AF295F
tetradic
#5FAF29 #29A2AF #7929AF #AF3629
square
#5FAF29 #29A2AF #7929AF #AF3629
split-complementary
#5FAF29 #3629AF #AF29A2
monochromatic
#294C12 #447D1D #5FAF29 #7DD342 #9FDE74
Accessibility & contrast
On white
2.74
#5FAF29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#5FAF29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAF29
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAF29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAF29 | 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)
#B5A007
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#5CA896
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5faf29; /* rgb */ color: rgb(95, 175, 41); /* oklch */ color: oklch(67.7% 0.182 135.8);
Tailwind
colors: {
custom: {
50: '#94c76d',
500: '#5faf29',
950: '#000000',
},
}SCSS
$custom: #5faf29; $custom-light: #94c76d; $custom-dark: #000000;
JSON
{
"hex": "#5faf29",
"rgb": {
"r": 95,
"g": 175,
"b": 41
},
"hsl": {
"h": 95.821,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.6772,
"c": 0.18192,
"h": 135.8
},
"luminance": 0.33253
}Semantic roles & 50–950 ramp
primary
#5FAF29
secondary
#A26EC6
accent
#43E5A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B