#5FB12C#5FB12C

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

Color values

HEX#5FB12C
RGBrgb(95, 177, 44)
HSLhsl(97, 60%, 43%)
HSVhsv(97, 75%, 69%)
CMYKcmyk(46.3%, 0%, 75.1%, 30.6%)
CIE-LABlab(65.01, -47.40, 56.41)
CIE-LCHlch(65.01, 73.68, 130.04°)
OKLaboklab(68.25% -0.1319 0.1264)
OKLCHoklch(68.25% 0.183 136.2)
XYZxyz(20.8955, 34.0577, 7.8551)
Luminance0.3406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB12C #7E2CB1
analogous
#A1B12C #5FB12C #2CB13B
triadic
#5FB12C #2C5FB1 #B12C5F
tetradic
#5FB12C #2CA1B1 #7E2CB1 #B13B2C
square
#5FB12C #2CA1B1 #7E2CB1 #B13B2C
split-complementary
#5FB12C #3B2CB1 #B12CA1
monochromatic
#2A4F14 #458020 #5FB12C #7DD249 #A0DE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FB12C#FFFFFF#000000##000000
##5FB12C1.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)
#B7A20F
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#5BAA98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fb12c;
/* rgb */ color: rgb(95, 177, 44);
/* oklch */ color: oklch(68.3% 0.183 136.2);
Tailwind
colors: {
  custom: {
    50: '#94c96f',
    500: '#5fb12c',
    950: '#000000',
  },
}
SCSS
$custom: #5fb12c;
$custom-light: #94c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb12c",
  "rgb": {
    "r": 95,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 96.992,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68254,
    "c": 0.1827,
    "h": 136.2
  },
  "luminance": 0.34059
}

Semantic roles & 50–950 ramp

primary
#5FB12C
secondary
#A673C6
accent
#44E3A6
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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