#5FBF31#5FBF31

#5FBF31 is a light, vivid green. Relative luminance 0.399; OKLCH L 71.9% C 0.197 H 137.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#5FBF31
RGBrgb(95, 191, 49)
HSLhsl(101, 59%, 47%)
HSVhsv(101, 74%, 75%)
CMYKcmyk(50.3%, 0%, 74.3%, 25.1%)
CIE-LABlab(69.41, -52.53, 59.02)
CIE-LCHlch(69.41, 79.01, 131.67°)
OKLaboklab(71.88% -0.1454 0.1325)
OKLCHoklch(71.88% 0.197 137.7)
XYZxyz(23.9037, 39.9145, 9.3498)
Luminance0.3992 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FBF31 #9131BF
analogous
#A6BF31 #5FBF31 #31BF4A
triadic
#5FBF31 #315FBF #BF315F
tetradic
#5FBF31 #31A6BF #9131BF #BF4A31
square
#5FBF31 #31A6BF #9131BF #BF4A31
split-complementary
#5FBF31 #4A31BF #BF31A6
monochromatic
#2F5E18 #478E25 #5FBF31 #81D459 #A6E18A

Accessibility & contrast

On white

2.34
#5FBF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#5FBF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FBF31
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FBF31#FFFFFF#000000##000000
##5FBF311.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE14
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#58B8A4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #5fbf31;
/* rgb */ color: rgb(95, 191, 49);
/* oklch */ color: oklch(71.9% 0.197 137.7);
Tailwind
colors: {
  custom: {
    50: '#95d373',
    500: '#5fbf31',
    950: '#000000',
  },
}
SCSS
$custom: #5fbf31;
$custom-light: #95d373;
$custom-dark: #000000;
JSON
{
  "hex": "#5fbf31",
  "rgb": {
    "r": 95,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 100.563,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71881,
    "c": 0.19678,
    "h": 137.7
  },
  "luminance": 0.39916
}

Semantic roles & 50–950 ramp

primary
#5FBF31
secondary
#B381CB
accent
#45E2B0
background
#F9FDF7
surface
#F2FAED
border
#CCD3C8
text
#0E1409
muted
#7E837B

Preview Lab

Preview with #5FBF31

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

Preview Lab → · Contrast checker → · Palette generator →

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