#5FB12E#5FB12E

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

Color values

HEX#5FB12E
RGBrgb(95, 177, 46)
HSLhsl(98, 59%, 44%)
HSVhsv(98, 74%, 69%)
CMYKcmyk(46.3%, 0%, 74%, 30.6%)
CIE-LABlab(65.02, -47.27, 55.72)
CIE-LCHlch(65.02, 73.07, 130.31°)
OKLaboklab(68.27% -0.1314 0.1252)
OKLCHoklch(68.27% 0.182 136.4)
XYZxyz(20.9340, 34.0731, 8.0579)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB12E #802EB1
analogous
#A0B12E #5FB12E #2EB13E
triadic
#5FB12E #2E5FB1 #B12E5F
tetradic
#5FB12E #2EA0B1 #802EB1 #B13E2E
square
#5FB12E #2EA0B1 #802EB1 #B13E2E
split-complementary
#5FB12E #3E2EB1 #B12EA0
monochromatic
#2B5015 #458021 #5FB12E #7DD04C #A1DD7C

Accessibility & contrast

On white

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

On black

7.81
#5FB12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB12E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB12E#FFFFFF#000000##000000
##5FB12E1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5fb12e;
/* rgb */ color: rgb(95, 177, 46);
/* oklch */ color: oklch(68.3% 0.182 136.4);
Tailwind
colors: {
  custom: {
    50: '#94c970',
    500: '#5fb12e',
    950: '#000000',
  },
}
SCSS
$custom: #5fb12e;
$custom-light: #94c970;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb12e",
  "rgb": {
    "r": 95,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 97.557,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68268,
    "c": 0.18155,
    "h": 136.4
  },
  "luminance": 0.34074
}

Semantic roles & 50–950 ramp

primary
#5FB12E
secondary
#A875C6
accent
#46E2A8
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB12E

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

Preview Lab → · Contrast checker → · Palette generator →

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