#31B13F#31B13F

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

Color values

HEX#31B13F
RGBrgb(49, 177, 63)
HSLhsl(127, 57%, 44%)
HSVhsv(127, 72%, 69%)
CMYKcmyk(72.3%, 0%, 64.4%, 30.6%)
CIE-LABlab(63.72, -57.09, 47.14)
CIE-LCHlch(63.72, 74.03, 140.45°)
OKLaboklab(66.83% -0.1543 0.1097)
OKLCHoklch(66.83% 0.189 144.6)
XYZxyz(17.8848, 32.4541, 10.0234)
Luminance0.3246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B13F #B131A3
analogous
#63B131 #31B13F #31B17F
triadic
#31B13F #3F31B1 #B13F31
tetradic
#31B13F #3163B1 #B131A3 #B17F31
square
#31B13F #3163B1 #B131A3 #B17F31
split-complementary
#31B13F #7F31B1 #B13163
monochromatic
#16511D #24812E #31B13F #51CF5E #80DC8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B13F#FFFFFF#000000##000000
##31B13F1.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)
#B4A131
Deuteranopia (green-blind)
#A59649
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b13f;
/* rgb */ color: rgb(49, 177, 63);
/* oklch */ color: oklch(66.8% 0.189 144.6);
Tailwind
colors: {
  custom: {
    50: '#7cc979',
    500: '#31b13f',
    950: '#000000',
  },
}
SCSS
$custom: #31b13f;
$custom-light: #7cc979;
$custom-dark: #000000;
JSON
{
  "hex": "#31b13f",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 63
  },
  "hsl": {
    "h": 126.563,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66832,
    "c": 0.18933,
    "h": 144.6
  },
  "luminance": 0.32456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B13F

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

Preview Lab → · Contrast checker → · Palette generator →

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