#31BC42#31BC42

#31BC42 is a light, highly saturated green. Relative luminance 0.370; OKLCH L 69.8% C 0.200 H 144.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#31BC42
RGBrgb(49, 188, 66)
HSLhsl(127, 59%, 46%)
HSVhsv(127, 74%, 74%)
CMYKcmyk(73.9%, 0%, 64.9%, 26.3%)
CIE-LABlab(67.28, -60.45, 49.80)
CIE-LCHlch(67.28, 78.32, 140.52°)
OKLaboklab(69.8% -0.1633 0.1156)
OKLCHoklch(69.8% 0.2 144.7)
XYZxyz(20.2318, 37.0104, 11.2307)
Luminance0.3701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BC42 #BC31AB
analogous
#66BC31 #31BC42 #31BC88
triadic
#31BC42 #4231BC #BC4231
tetradic
#31BC42 #3166BC #BC31AB #BC8831
square
#31BC42 #3166BC #BC31AB #BC8831
split-complementary
#31BC42 #8831BC #BC3166
monochromatic
#185B20 #248B31 #31BC42 #57D366 #88E092

Accessibility & contrast

On white

2.50
#31BC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#31BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BC42
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BC42#FFFFFF#000000##000000
##31BC421.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA33
Deuteranopia (green-blind)
#B0A04D
Tritanopia (blue-blind)
#00B7A3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31bc42;
/* rgb */ color: rgb(49, 188, 66);
/* oklch */ color: oklch(69.8% 0.200 144.7);
Tailwind
colors: {
  custom: {
    50: '#7fd17b',
    500: '#31bc42',
    950: '#000000',
  },
}
SCSS
$custom: #31bc42;
$custom-light: #7fd17b;
$custom-dark: #000000;
JSON
{
  "hex": "#31bc42",
  "rgb": {
    "r": 49,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 127.338,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.698,
    "c": 0.20012,
    "h": 144.7
  },
  "luminance": 0.37013
}

Semantic roles & 50–950 ramp

primary
#31BC42
secondary
#CA7FC0
accent
#46CFE2
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #31BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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