#5FCF31#5FCF31

#5FCF31 is a light, highly saturated green. Relative luminance 0.473; OKLCH L 76.0% C 0.215 H 138.5°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#5FCF31
RGBrgb(95, 207, 49)
HSLhsl(103, 62%, 50%)
HSVhsv(103, 76%, 81%)
CMYKcmyk(54.1%, 0%, 76.3%, 18.8%)
CIE-LABlab(74.37, -58.47, 63.87)
CIE-LCHlch(74.37, 86.59, 132.47°)
OKLaboklab(75.97% -0.1614 0.1427)
OKLCHoklch(75.97% 0.215 138.5)
XYZxyz(27.5855, 47.2781, 10.5771)
Luminance0.4728 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FCF31 #A131CF
analogous
#AECF31 #5FCF31 #31CF52
triadic
#5FCF31 #315FCF #CF315F
tetradic
#5FCF31 #31AECF #A131CF #CF5231
square
#5FCF31 #31AECF #A131CF #CF5231
split-complementary
#5FCF31 #5231CF #CF31AE
monochromatic
#316C19 #489E25 #5FCF31 #86DB63 #ACE694

Accessibility & contrast

On white

2.01
#5FCF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#5FCF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FCF31
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FCF31#FFFFFF#000000##000000
##5FCF311.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD06
Deuteranopia (green-blind)
#C7B342
Tritanopia (blue-blind)
#55C8B1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #5fcf31;
/* rgb */ color: rgb(95, 207, 49);
/* oklch */ color: oklch(76.0% 0.215 138.5);
Tailwind
colors: {
  custom: {
    50: '#97de75',
    500: '#5fcf31',
    950: '#000000',
  },
}
SCSS
$custom: #5fcf31;
$custom-light: #97de75;
$custom-dark: #000000;
JSON
{
  "hex": "#5fcf31",
  "rgb": {
    "r": 95,
    "g": 207,
    "b": 49
  },
  "hsl": {
    "h": 102.532,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75967,
    "c": 0.21545,
    "h": 138.5
  },
  "luminance": 0.4728
}

Semantic roles & 50–950 ramp

primary
#5FCF31
secondary
#BD8BD1
accent
#43E5B6
background
#F9FDF7
surface
#F2FBED
border
#CCD4C8
text
#0F1509
muted
#7E837B

Preview Lab

Preview with #5FCF31

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

Preview Lab → · Contrast checker → · Palette generator →

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