#31CF31#31CF31

#31CF31 is a light, highly saturated green. Relative luminance 0.455; OKLCH L 74.7% C 0.232 H 142.8°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#31CF31
RGBrgb(49, 207, 49)
HSLhsl(120, 62%, 50%)
HSVhsv(120, 76%, 81%)
CMYKcmyk(76.3%, 0%, 76.3%, 18.8%)
CIE-LABlab(73.22, -67.95, 62.36)
CIE-LCHlch(73.22, 92.23, 137.46°)
OKLaboklab(74.69% -0.1844 0.1399)
OKLCHoklch(74.69% 0.232 142.8)
XYZxyz(24.1323, 45.4975, 10.4152)
Luminance0.4550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31CF31 #CF31CF
analogous
#80CF31 #31CF31 #31CF80
triadic
#31CF31 #3131CF #CF3131
tetradic
#31CF31 #3180CF #CF31CF #CF8031
square
#31CF31 #3180CF #CF31CF #CF8031
split-complementary
#31CF31 #8031CF #CF3180
monochromatic
#196C19 #259E25 #31CF31 #63DB63 #94E694

Accessibility & contrast

On white

2.08
#31CF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#31CF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31CF31
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31CF31#FFFFFF#000000##000000
##31CF311.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB07
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#00C9B1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #31cf31;
/* rgb */ color: rgb(49, 207, 49);
/* oklch */ color: oklch(74.7% 0.232 142.8);
Tailwind
colors: {
  custom: {
    50: '#84df74',
    500: '#31cf31',
    950: '#000000',
  },
}
SCSS
$custom: #31cf31;
$custom-light: #84df74;
$custom-dark: #000000;
JSON
{
  "hex": "#31cf31",
  "rgb": {
    "r": 49,
    "g": 207,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74689,
    "c": 0.23152,
    "h": 142.8
  },
  "luminance": 0.455
}

Semantic roles & 50–950 ramp

primary
#31CF31
secondary
#D18BD1
accent
#43E5E5
background
#F9FDF7
surface
#F1FBED
border
#CBD4C8
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #31CF31

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

Preview Lab → · Contrast checker → · Palette generator →

#31CF31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva