#5FA71F#5FA71F

#5FA71F is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 65.6% C 0.177 H 134.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5FA71F
RGBrgb(95, 167, 31)
HSLhsl(92, 69%, 39%)
HSVhsv(92, 81%, 65%)
CMYKcmyk(43.1%, 0%, 81.4%, 34.5%)
CIE-LABlab(61.80, -44.09, 57.49)
CIE-LCHlch(61.80, 72.45, 127.49°)
OKLaboklab(65.6% -0.1238 0.1267)
OKLCHoklch(65.6% 0.177 134.3)
XYZxyz(18.7850, 30.1682, 6.1293)
Luminance0.3017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA71F #671FA7
analogous
#A3A71F #5FA71F #1FA723
triadic
#5FA71F #1F5FA7 #A71F5F
tetradic
#5FA71F #1FA3A7 #671FA7 #A7231F
square
#5FA71F #1FA3A7 #671FA7 #A7231F
split-complementary
#5FA71F #231FA7 #A71FA3
monochromatic
#24400C #427315 #5FA71F #7DD82B #9CE15F

Accessibility & contrast

On white

2.99
#5FA71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#5FA71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA71F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA71F#FFFFFF#000000##000000
##5FA71F1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A4932F
Tritanopia (blue-blind)
#5EA08E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5fa71f;
/* rgb */ color: rgb(95, 167, 31);
/* oklch */ color: oklch(65.6% 0.177 134.3);
Tailwind
colors: {
  custom: {
    50: '#93c268',
    500: '#5fa71f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa71f;
$custom-light: #93c268;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa71f",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 91.765,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65599,
    "c": 0.17716,
    "h": 134.3
  },
  "luminance": 0.30169
}

Semantic roles & 50–950 ramp

primary
#5FA71F
secondary
#945CC6
accent
#3CEC99
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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