#5FAA31#5FAA31
#5FAA31 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.5% C 0.171 H 136.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAA31 |
|---|---|
| RGB | rgb(95, 170, 49) |
| HSL | hsl(97, 55%, 43%) |
| HSV | hsv(97, 71%, 67%) |
| CMYK | cmyk(44.1%, 0%, 71.2%, 33.3%) |
| CIE-LAB | lab(62.85, -44.22, 52.42) |
| CIE-LCH | lch(62.85, 68.57, 130.15°) |
| OKLab | oklab(66.49% -0.123 0.1187) |
| OKLCH | oklch(66.49% 0.171 136) |
| XYZ | xyz(19.6479, 31.4029, 7.9312) |
| Luminance | 0.3140 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.80
Leaf
#71AA34
ΔE00 2.63
Nasty Green
#70B23F
ΔE00 3.04
Leaf Green
#5CA904
ΔE00 3.04
Lawn Green
#4DA409
ΔE00 3.30
Kermit Green
#5CB200
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAA31 #7C31AA
analogous
#9BAA31 #5FAA31 #31AA3F
triadic
#5FAA31 #315FAA #AA315F
tetradic
#5FAA31 #319BAA #7C31AA #AA3F31
square
#5FAA31 #319BAA #7C31AA #AA3F31
split-complementary
#5FAA31 #3F31AA #AA319B
monochromatic
#2A4B16 #447A23 #5FAA31 #7DCC4D #A0D97C
Accessibility & contrast
On white
2.88
#5FAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#5FAA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAA31
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAA31 | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#A6963C
Tritanopia (blue-blind)
#5CA492
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5faa31; /* rgb */ color: rgb(95, 170, 49); /* oklch */ color: oklch(66.5% 0.171 136.0);
Tailwind
colors: {
custom: {
50: '#93c470',
500: '#5faa31',
950: '#000000',
},
}SCSS
$custom: #5faa31; $custom-light: #93c470; $custom-dark: #000000;
JSON
{
"hex": "#5faa31",
"rgb": {
"r": 95,
"g": 170,
"b": 49
},
"hsl": {
"h": 97.19,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.6649,
"c": 0.17095,
"h": 136
},
"luminance": 0.31404
}Semantic roles & 50–950 ramp
primary
#5FAA31
secondary
#A575C2
accent
#49DFA6
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B