#5FB128#5FB128

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

Color values

HEX#5FB128
RGBrgb(95, 177, 40)
HSLhsl(96, 63%, 43%)
HSVhsv(96, 77%, 69%)
CMYKcmyk(46.3%, 0%, 77.4%, 30.6%)
CIE-LABlab(64.99, -47.65, 57.73)
CIE-LCHlch(64.99, 74.85, 129.54°)
OKLaboklab(68.23% -0.1329 0.1285)
OKLCHoklch(68.23% 0.185 135.9)
XYZxyz(20.8239, 34.0291, 7.4781)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB128 #7A28B1
analogous
#A4B128 #5FB128 #28B135
triadic
#5FB128 #285FB1 #B1285F
tetradic
#5FB128 #28A4B1 #7A28B1 #B13528
square
#5FB128 #28A4B1 #7A28B1 #B13528
split-complementary
#5FB128 #3528B1 #B128A4
monochromatic
#294D11 #447F1D #5FB128 #7DD442 #9FE074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FB128#FFFFFF#000000##000000
##5FB1281.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)
#B7A202
Deuteranopia (green-blind)
#AD9B37
Tritanopia (blue-blind)
#5CAA97
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fb128;
/* rgb */ color: rgb(95, 177, 40);
/* oklch */ color: oklch(68.2% 0.185 135.9);
Tailwind
colors: {
  custom: {
    50: '#94c96d',
    500: '#5fb128',
    950: '#000000',
  },
}
SCSS
$custom: #5fb128;
$custom-light: #94c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb128",
  "rgb": {
    "r": 95,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 95.912,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68228,
    "c": 0.18486,
    "h": 135.9
  },
  "luminance": 0.3403
}

Semantic roles & 50–950 ramp

primary
#5FB128
secondary
#A36EC7
accent
#42E6A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB128

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

Preview Lab → · Contrast checker → · Palette generator →

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