#31B13E#31B13E

#31B13E is a light, vivid green. Relative luminance 0.324; OKLCH L 66.8% C 0.190 H 144.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#31B13E
RGBrgb(49, 177, 62)
HSLhsl(126, 57%, 44%)
HSVhsv(126, 72%, 69%)
CMYKcmyk(72.3%, 0%, 65%, 30.6%)
CIE-LABlab(63.71, -57.20, 47.56)
CIE-LCHlch(63.71, 74.39, 140.26°)
OKLaboklab(66.82% -0.1547 0.1105)
OKLCHoklch(66.82% 0.19 144.5)
XYZxyz(17.8571, 32.4431, 9.8775)
Luminance0.3245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B13E #B131A4
analogous
#64B131 #31B13E #31B17E
triadic
#31B13E #3E31B1 #B13E31
tetradic
#31B13E #3164B1 #B131A4 #B17E31
square
#31B13E #3164B1 #B131A4 #B17E31
split-complementary
#31B13E #7E31B1 #B13164
monochromatic
#16511C #24812D #31B13E #51CF5D #80DC8A

Accessibility & contrast

On white

2.80
#31B13E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#31B13E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B13E
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B13E#FFFFFF#000000##000000
##31B13E1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A130
Deuteranopia (green-blind)
#A59648
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b13e;
/* rgb */ color: rgb(49, 177, 62);
/* oklch */ color: oklch(66.8% 0.190 144.5);
Tailwind
colors: {
  custom: {
    50: '#7cc978',
    500: '#31b13e',
    950: '#000000',
  },
}
SCSS
$custom: #31b13e;
$custom-light: #7cc978;
$custom-dark: #000000;
JSON
{
  "hex": "#31b13e",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 62
  },
  "hsl": {
    "h": 126.094,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66821,
    "c": 0.19007,
    "h": 144.5
  },
  "luminance": 0.32445
}

Semantic roles & 50–950 ramp

primary
#31B13E
secondary
#C579BD
accent
#48D0E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B13E

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

Preview Lab → · Contrast checker → · Palette generator →

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