#5FB12A#5FB12A

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

Color values

HEX#5FB12A
RGBrgb(95, 177, 42)
HSLhsl(96, 62%, 43%)
HSVhsv(96, 76%, 69%)
CMYKcmyk(46.3%, 0%, 76.3%, 30.6%)
CIE-LABlab(65.00, -47.53, 57.08)
CIE-LCHlch(65.00, 74.28, 129.78°)
OKLaboklab(68.24% -0.1324 0.1275)
OKLCHoklch(68.24% 0.184 136.1)
XYZxyz(20.8588, 34.0430, 7.6619)
Luminance0.3404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB12A #7C2AB1
analogous
#A3B12A #5FB12A #2AB138
triadic
#5FB12A #2A5FB1 #B12A5F
tetradic
#5FB12A #2AA3B1 #7C2AB1 #B1382A
square
#5FB12A #2AA3B1 #7C2AB1 #B1382A
split-complementary
#5FB12A #382AB1 #B12AA3
monochromatic
#2A4E13 #44801E #5FB12A #7DD345 #A0DF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FB12A#FFFFFF#000000##000000
##5FB12A1.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)
#B7A209
Deuteranopia (green-blind)
#AC9B38
Tritanopia (blue-blind)
#5BAA97
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fb12a;
/* rgb */ color: rgb(95, 177, 42);
/* oklch */ color: oklch(68.2% 0.184 136.1);
Tailwind
colors: {
  custom: {
    50: '#94c96e',
    500: '#5fb12a',
    950: '#000000',
  },
}
SCSS
$custom: #5fb12a;
$custom-light: #94c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb12a",
  "rgb": {
    "r": 95,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 96.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68241,
    "c": 0.18381,
    "h": 136.1
  },
  "luminance": 0.34044
}

Semantic roles & 50–950 ramp

primary
#5FB12A
secondary
#A570C6
accent
#43E5A5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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