#31B13D#31B13D

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

Color values

HEX#31B13D
RGBrgb(49, 177, 61)
HSLhsl(126, 57%, 44%)
HSVhsv(126, 72%, 69%)
CMYKcmyk(72.3%, 0%, 65.5%, 30.6%)
CIE-LABlab(63.70, -57.30, 47.98)
CIE-LCHlch(63.70, 74.74, 140.06°)
OKLaboklab(66.81% -0.155 0.1113)
OKLCHoklch(66.81% 0.191 144.3)
XYZxyz(17.8299, 32.4322, 9.7343)
Luminance0.3243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B13D #B131A5
analogous
#65B131 #31B13D #31B17D
triadic
#31B13D #3D31B1 #B13D31
tetradic
#31B13D #3165B1 #B131A5 #B17D31
square
#31B13D #3165B1 #B131A5 #B17D31
split-complementary
#31B13D #7D31B1 #B13165
monochromatic
#16511C #24812C #31B13D #51CF5C #80DC89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B13D#FFFFFF#000000##000000
##31B13D1.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)
#B4A02E
Deuteranopia (green-blind)
#A69647
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b13d;
/* rgb */ color: rgb(49, 177, 61);
/* oklch */ color: oklch(66.8% 0.191 144.3);
Tailwind
colors: {
  custom: {
    50: '#7cc978',
    500: '#31b13d',
    950: '#000000',
  },
}
SCSS
$custom: #31b13d;
$custom-light: #7cc978;
$custom-dark: #000000;
JSON
{
  "hex": "#31b13d",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 61
  },
  "hsl": {
    "h": 125.625,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66811,
    "c": 0.19081,
    "h": 144.3
  },
  "luminance": 0.32434
}

Semantic roles & 50–950 ramp

primary
#31B13D
secondary
#C579BE
accent
#48D2E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B13D

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

Preview Lab → · Contrast checker → · Palette generator →

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