#5FA42F#5FA42F

#5FA42F is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.165 H 135.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5FA42F
RGBrgb(95, 164, 47)
HSLhsl(95, 55%, 41%)
HSVhsv(95, 71%, 64%)
CMYKcmyk(42.1%, 0%, 71.3%, 35.7%)
CIE-LABlab(60.95, -41.86, 51.24)
CIE-LCHlch(60.95, 66.17, 129.25°)
OKLaboklab(64.93% -0.1167 0.116)
OKLCHoklch(64.93% 0.165 135.2)
XYZxyz(18.5074, 29.1880, 7.3474)
Luminance0.2919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA42F #742FA4
analogous
#9AA42F #5FA42F #2FA43A
triadic
#5FA42F #2F5FA4 #A42F5F
tetradic
#5FA42F #2F9AA4 #742FA4 #A43A2F
square
#5FA42F #2F9AA4 #742FA4 #A43A2F
split-complementary
#5FA42F #3A2FA4 #A42F9A
monochromatic
#284514 #437421 #5FA42F #7CCA46 #9ED876

Accessibility & contrast

On white

3.07
#5FA42F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#5FA42F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA42F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA42F#FFFFFF#000000##000000
##5FA42F1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971C
Deuteranopia (green-blind)
#A1913A
Tritanopia (blue-blind)
#5D9E8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5fa42f;
/* rgb */ color: rgb(95, 164, 47);
/* oklch */ color: oklch(64.9% 0.165 135.2);
Tailwind
colors: {
  custom: {
    50: '#92bf6f',
    500: '#5fa42f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa42f;
$custom-light: #92bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa42f",
  "rgb": {
    "r": 95,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 95.385,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6493,
    "c": 0.16458,
    "h": 135.2
  },
  "luminance": 0.29189
}

Semantic roles & 50–950 ramp

primary
#5FA42F
secondary
#9F6FC0
accent
#49DFA1
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA42F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5FA42F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva