#31B131#31B131

#31B131 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.7% C 0.199 H 142.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#31B131
RGBrgb(49, 177, 49)
HSLhsl(120, 57%, 44%)
HSVhsv(120, 72%, 69%)
CMYKcmyk(72.3%, 0%, 72.3%, 30.6%)
CIE-LABlab(63.60, -58.44, 52.73)
CIE-LCHlch(63.60, 78.71, 137.94°)
OKLaboklab(66.7% -0.1587 0.1198)
OKLCHoklch(66.7% 0.199 142.9)
XYZxyz(17.5421, 32.3170, 8.2185)
Luminance0.3232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B131 #B131B1
analogous
#71B131 #31B131 #31B171
triadic
#31B131 #3131B1 #B13131
tetradic
#31B131 #3171B1 #B131B1 #B17131
square
#31B131 #3171B1 #B131B1 #B17131
split-complementary
#31B131 #7131B1 #B13171
monochromatic
#165116 #248124 #31B131 #51CF51 #80DC80

Accessibility & contrast

On white

2.81
#31B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#31B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B131
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B131#FFFFFF#000000##000000
##31B1311.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#A6963E
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b131;
/* rgb */ color: rgb(49, 177, 49);
/* oklch */ color: oklch(66.7% 0.199 142.9);
Tailwind
colors: {
  custom: {
    50: '#7dc971',
    500: '#31b131',
    950: '#000000',
  },
}
SCSS
$custom: #31b131;
$custom-light: #7dc971;
$custom-dark: #000000;
JSON
{
  "hex": "#31b131",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66702,
    "c": 0.19884,
    "h": 142.9
  },
  "luminance": 0.32319
}

Semantic roles & 50–950 ramp

primary
#31B131
secondary
#C579C5
accent
#48E0E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B131

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

Preview Lab → · Contrast checker → · Palette generator →

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