#5FB12F#5FB12F

#5FB12F is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 68.3% C 0.181 H 136.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5FB12F
RGBrgb(95, 177, 47)
HSLhsl(98, 58%, 44%)
HSVhsv(98, 73%, 69%)
CMYKcmyk(46.3%, 0%, 73.4%, 30.6%)
CIE-LABlab(65.03, -47.20, 55.37)
CIE-LCHlch(65.03, 72.76, 130.45°)
OKLaboklab(68.27% -0.1312 0.1246)
OKLCHoklch(68.27% 0.181 136.5)
XYZxyz(20.9540, 34.0811, 8.1629)
Luminance0.3408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB12F #812FB1
analogous
#A0B12F #5FB12F #2FB140
triadic
#5FB12F #2F5FB1 #B12F5F
tetradic
#5FB12F #2FA0B1 #812FB1 #B1402F
square
#5FB12F #2FA0B1 #812FB1 #B1402F
split-complementary
#5FB12F #402FB1 #B12FA0
monochromatic
#2B5015 #458122 #5FB12F #7ED04D #A1DD7E

Accessibility & contrast

On white

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

On black

7.82
#5FB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB12F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB12F#FFFFFF#000000##000000
##5FB12F1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A217
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#5BAA98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fb12f;
/* rgb */ color: rgb(95, 177, 47);
/* oklch */ color: oklch(68.3% 0.181 136.5);
Tailwind
colors: {
  custom: {
    50: '#94c970',
    500: '#5fb12f',
    950: '#000000',
  },
}
SCSS
$custom: #5fb12f;
$custom-light: #94c970;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb12f",
  "rgb": {
    "r": 95,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 97.846,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68275,
    "c": 0.18096,
    "h": 136.5
  },
  "luminance": 0.34082
}

Semantic roles & 50–950 ramp

primary
#5FB12F
secondary
#A876C5
accent
#47E1A8
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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