#31BC31#31BC31

#31BC31 is a light, highly saturated green. Relative luminance 0.368; OKLCH L 69.7% C 0.211 H 142.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#31BC31
RGBrgb(49, 188, 49)
HSLhsl(120, 59%, 46%)
HSVhsv(120, 74%, 74%)
CMYKcmyk(73.9%, 0%, 73.9%, 26.3%)
CIE-LABlab(67.16, -62.02, 56.34)
CIE-LCHlch(67.16, 83.79, 137.74°)
OKLaboklab(69.65% -0.1683 0.1274)
OKLCHoklch(69.65% 0.211 142.9)
XYZxyz(19.8030, 36.8389, 8.9721)
Luminance0.3684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BC31 #BC31BC
analogous
#77BC31 #31BC31 #31BC77
triadic
#31BC31 #3131BC #BC3131
tetradic
#31BC31 #3177BC #BC31BC #BC7731
square
#31BC31 #3177BC #BC31BC #BC7731
split-complementary
#31BC31 #7731BC #BC3177
monochromatic
#185B18 #248B24 #31BC31 #57D357 #88E088

Accessibility & contrast

On white

2.51
#31BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#31BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BC31
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BC31#FFFFFF#000000##000000
##31BC311.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA16
Deuteranopia (green-blind)
#B19F40
Tritanopia (blue-blind)
#00B6A1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31bc31;
/* rgb */ color: rgb(49, 188, 49);
/* oklch */ color: oklch(69.7% 0.211 142.9);
Tailwind
colors: {
  custom: {
    50: '#7fd172',
    500: '#31bc31',
    950: '#000000',
  },
}
SCSS
$custom: #31bc31;
$custom-light: #7fd172;
$custom-dark: #000000;
JSON
{
  "hex": "#31bc31",
  "rgb": {
    "r": 49,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69651,
    "c": 0.21111,
    "h": 142.9
  },
  "luminance": 0.36841
}

Semantic roles & 50–950 ramp

primary
#31BC31
secondary
#CA7FCA
accent
#46E2E2
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #31BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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