#31BB42#31BB42

#31BB42 is a light, vivid green. Relative luminance 0.366; OKLCH L 69.5% C 0.199 H 144.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#31BB42
RGBrgb(49, 187, 66)
HSLhsl(127, 58%, 46%)
HSVhsv(127, 74%, 73%)
CMYKcmyk(73.8%, 0%, 64.7%, 26.7%)
CIE-LABlab(66.96, -60.12, 49.45)
CIE-LCHlch(66.96, 77.84, 140.56°)
OKLaboklab(69.53% -0.1624 0.1149)
OKLCHoklch(69.53% 0.199 144.7)
XYZxyz(20.0190, 36.5847, 11.1597)
Luminance0.3659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB42 #BB31AA
analogous
#65BB31 #31BB42 #31BB87
triadic
#31BB42 #4231BB #BB4231
tetradic
#31BB42 #3165BB #BB31AA #BB8731
square
#31BB42 #3165BB #BB31AA #BB8731
split-complementary
#31BB42 #8731BB #BB3165
monochromatic
#185A20 #248B31 #31BB42 #56D366 #87E092

Accessibility & contrast

On white

2.52
#31BB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#31BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BB42
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BB42#FFFFFF#000000##000000
##31BB421.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA33
Deuteranopia (green-blind)
#AF9F4D
Tritanopia (blue-blind)
#00B6A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31bb42;
/* rgb */ color: rgb(49, 187, 66);
/* oklch */ color: oklch(69.5% 0.199 144.7);
Tailwind
colors: {
  custom: {
    50: '#7ed17b',
    500: '#31bb42',
    950: '#000000',
  },
}
SCSS
$custom: #31bb42;
$custom-light: #7ed17b;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb42",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 127.391,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69534,
    "c": 0.19895,
    "h": 144.7
  },
  "luminance": 0.36587
}

Semantic roles & 50–950 ramp

primary
#31BB42
secondary
#C97FC0
accent
#46CFE2
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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