#5FB126#5FB126

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

Color values

HEX#5FB126
RGBrgb(95, 177, 38)
HSLhsl(95, 65%, 42%)
HSVhsv(95, 79%, 69%)
CMYKcmyk(46.3%, 0%, 78.5%, 30.6%)
CIE-LABlab(64.98, -47.77, 58.35)
CIE-LCHlch(64.98, 75.41, 129.30°)
OKLaboklab(68.22% -0.1333 0.1296)
OKLCHoklch(68.22% 0.186 135.8)
XYZxyz(20.7908, 34.0158, 7.3035)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB126 #7826B1
analogous
#A4B126 #5FB126 #26B133
triadic
#5FB126 #265FB1 #B1265F
tetradic
#5FB126 #26A4B1 #7826B1 #B13326
square
#5FB126 #26A4B1 #7826B1 #B13326
split-complementary
#5FB126 #3326B1 #B126A4
monochromatic
#294C10 #447F1B #5FB126 #7DD63F #9FE071

Accessibility & contrast

On white

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

On black

7.80
#5FB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB126
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB126#FFFFFF#000000##000000
##5FB1261.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#AD9B36
Tritanopia (blue-blind)
#5CAA97
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fb126;
/* rgb */ color: rgb(95, 177, 38);
/* oklch */ color: oklch(68.2% 0.186 135.8);
Tailwind
colors: {
  custom: {
    50: '#94c96c',
    500: '#5fb126',
    950: '#000000',
  },
}
SCSS
$custom: #5fb126;
$custom-light: #94c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb126",
  "rgb": {
    "r": 95,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 95.396,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68216,
    "c": 0.18587,
    "h": 135.8
  },
  "luminance": 0.34017
}

Semantic roles & 50–950 ramp

primary
#5FB126
secondary
#A26BC7
accent
#40E8A3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FB126

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

Preview Lab → · Contrast checker → · Palette generator →

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