#5FB125#5FB125

#5FB125 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#5FB125
RGBrgb(95, 177, 37)
HSLhsl(95, 65%, 42%)
HSVhsv(95, 79%, 69%)
CMYKcmyk(46.3%, 0%, 79.1%, 30.6%)
CIE-LABlab(64.97, -47.82, 58.65)
CIE-LCHlch(64.97, 75.68, 129.19°)
OKLaboklab(68.21% -0.1335 0.13)
OKLCHoklch(68.21% 0.186 135.8)
XYZxyz(20.7749, 34.0094, 7.2197)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB125 #7725B1
analogous
#A5B125 #5FB125 #25B131
triadic
#5FB125 #255FB1 #B1255F
tetradic
#5FB125 #25A5B1 #7725B1 #B13125
square
#5FB125 #25A5B1 #7725B1 #B13125
split-complementary
#5FB125 #3125B1 #B125A5
monochromatic
#294C10 #447E1A #5FB125 #7CD63D #9EE16F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FB125#FFFFFF#000000##000000
##5FB1251.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)
#AD9B35
Tritanopia (blue-blind)
#5CAA97
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fb125;
/* rgb */ color: rgb(95, 177, 37);
/* oklch */ color: oklch(68.2% 0.186 135.8);
Tailwind
colors: {
  custom: {
    50: '#94c96b',
    500: '#5fb125',
    950: '#000000',
  },
}
SCSS
$custom: #5fb125;
$custom-light: #94c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb125",
  "rgb": {
    "r": 95,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 95.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68211,
    "c": 0.18637,
    "h": 135.8
  },
  "luminance": 0.34011
}

Semantic roles & 50–950 ramp

primary
#5FB125
secondary
#A16AC8
accent
#3FE8A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FB125

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

Preview Lab → · Contrast checker → · Palette generator →

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