#5FB127#5FB127

#5FB127 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.2% C 0.185 H 135.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5FB127
RGBrgb(95, 177, 39)
HSLhsl(96, 64%, 42%)
HSVhsv(96, 78%, 69%)
CMYKcmyk(46.3%, 0%, 78%, 30.6%)
CIE-LABlab(64.98, -47.71, 58.04)
CIE-LCHlch(64.98, 75.13, 129.42°)
OKLaboklab(68.22% -0.1331 0.1291)
OKLCHoklch(68.22% 0.185 135.9)
XYZxyz(20.8071, 34.0223, 7.3896)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB127 #7927B1
analogous
#A4B127 #5FB127 #27B134
triadic
#5FB127 #275FB1 #B1275F
tetradic
#5FB127 #27A4B1 #7927B1 #B13427
square
#5FB127 #27A4B1 #7927B1 #B13427
split-complementary
#5FB127 #3427B1 #B127A4
monochromatic
#294D11 #447F1C #5FB127 #7DD540 #9FE072

Accessibility & contrast

On white

2.69
#5FB127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#5FB127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB127
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB127#FFFFFF#000000##000000
##5FB1271.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#AD9B36
Tritanopia (blue-blind)
#5CAA97
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fb127;
/* rgb */ color: rgb(95, 177, 39);
/* oklch */ color: oklch(68.2% 0.185 135.9);
Tailwind
colors: {
  custom: {
    50: '#94c96c',
    500: '#5fb127',
    950: '#000000',
  },
}
SCSS
$custom: #5fb127;
$custom-light: #94c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb127",
  "rgb": {
    "r": 95,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 95.652,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68222,
    "c": 0.18538,
    "h": 135.9
  },
  "luminance": 0.34024
}

Semantic roles & 50–950 ramp

primary
#5FB127
secondary
#A26DC7
accent
#41E7A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FB127

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

Preview Lab → · Contrast checker → · Palette generator →

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