#5FB12D#5FB12D

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

Color values

HEX#5FB12D
RGBrgb(95, 177, 45)
HSLhsl(97, 59%, 44%)
HSVhsv(97, 75%, 69%)
CMYKcmyk(46.3%, 0%, 74.6%, 30.6%)
CIE-LABlab(65.01, -47.34, 56.07)
CIE-LCHlch(65.01, 73.38, 130.17°)
OKLaboklab(68.26% -0.1317 0.1258)
OKLCHoklch(68.26% 0.182 136.3)
XYZxyz(20.9145, 34.0653, 7.9553)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB12D #7F2DB1
analogous
#A1B12D #5FB12D #2DB13D
triadic
#5FB12D #2D5FB1 #B12D5F
tetradic
#5FB12D #2DA1B1 #7F2DB1 #B13D2D
square
#5FB12D #2DA1B1 #7F2DB1 #B13D2D
split-complementary
#5FB12D #3D2DB1 #B12DA1
monochromatic
#2B4F14 #458021 #5FB12D #7DD14A #A0DD7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5fb12d;
/* rgb */ color: rgb(95, 177, 45);
/* oklch */ color: oklch(68.3% 0.182 136.3);
Tailwind
colors: {
  custom: {
    50: '#94c96f',
    500: '#5fb12d',
    950: '#000000',
  },
}
SCSS
$custom: #5fb12d;
$custom-light: #94c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb12d",
  "rgb": {
    "r": 95,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 97.273,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68261,
    "c": 0.18213,
    "h": 136.3
  },
  "luminance": 0.34067
}

Semantic roles & 50–950 ramp

primary
#5FB12D
secondary
#A774C6
accent
#45E3A7
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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