#5FB131#5FB131

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

Color values

HEX#5FB131
RGBrgb(95, 177, 49)
HSLhsl(98, 57%, 44%)
HSVhsv(98, 72%, 69%)
CMYKcmyk(46.3%, 0%, 72.3%, 30.6%)
CIE-LABlab(65.04, -47.06, 54.65)
CIE-LCHlch(65.04, 72.12, 130.73°)
OKLaboklab(68.29% -0.1307 0.1234)
OKLCHoklch(68.29% 0.18 136.6)
XYZxyz(20.9952, 34.0976, 8.3803)
Luminance0.3410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB131 #8331B1
analogous
#9FB131 #5FB131 #31B143
triadic
#5FB131 #315FB1 #B1315F
tetradic
#5FB131 #319FB1 #8331B1 #B14331
square
#5FB131 #319FB1 #8331B1 #B14331
split-complementary
#5FB131 #4331B1 #B1319F
monochromatic
#2C5116 #458124 #5FB131 #7ECF51 #A1DC80

Accessibility & contrast

On white

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

On black

7.82
#5FB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB131
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB131#FFFFFF#000000##000000
##5FB1311.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21B
Deuteranopia (green-blind)
#AC9B3D
Tritanopia (blue-blind)
#5BAB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fb131;
/* rgb */ color: rgb(95, 177, 49);
/* oklch */ color: oklch(68.3% 0.180 136.6);
Tailwind
colors: {
  custom: {
    50: '#93c971',
    500: '#5fb131',
    950: '#000000',
  },
}
SCSS
$custom: #5fb131;
$custom-light: #93c971;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb131",
  "rgb": {
    "r": 95,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 98.438,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6829,
    "c": 0.17974,
    "h": 136.6
  },
  "luminance": 0.34099
}

Semantic roles & 50–950 ramp

primary
#5FB131
secondary
#AA79C5
accent
#48E0A9
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB131

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

Preview Lab → · Contrast checker → · Palette generator →

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