#5FA62F#5FA62F

#5FA62F is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.4% C 0.167 H 135.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5FA62F
RGBrgb(95, 166, 47)
HSLhsl(96, 56%, 42%)
HSVhsv(96, 72%, 65%)
CMYKcmyk(42.8%, 0%, 71.7%, 34.9%)
CIE-LABlab(61.58, -42.70, 51.89)
CIE-LCHlch(61.58, 67.20, 129.46°)
OKLaboklab(65.44% -0.119 0.1174)
OKLCHoklch(65.44% 0.167 135.4)
XYZxyz(18.8682, 29.9095, 7.4677)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA62F #762FA6
analogous
#9BA62F #5FA62F #2FA63A
triadic
#5FA62F #2F5FA6 #A62F5F
tetradic
#5FA62F #2F9BA6 #762FA6 #A63A2F
square
#5FA62F #2F9BA6 #762FA6 #A63A2F
split-complementary
#5FA62F #3A2FA6 #A62F9B
monochromatic
#284714 #447621 #5FA62F #7CCB47 #9ED877

Accessibility & contrast

On white

3.01
#5FA62F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#5FA62F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA62F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA62F#FFFFFF#000000##000000
##5FA62F1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981B
Deuteranopia (green-blind)
#A2933A
Tritanopia (blue-blind)
#5DA08F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5fa62f;
/* rgb */ color: rgb(95, 166, 47);
/* oklch */ color: oklch(65.4% 0.167 135.4);
Tailwind
colors: {
  custom: {
    50: '#92c16f',
    500: '#5fa62f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa62f;
$custom-light: #92c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa62f",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 95.798,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65445,
    "c": 0.16715,
    "h": 135.4
  },
  "luminance": 0.29911
}

Semantic roles & 50–950 ramp

primary
#5FA62F
secondary
#A070C1
accent
#49DFA2
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA62F

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

Preview Lab → · Contrast checker → · Palette generator →

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