#31B14B#31B14B

#31B14B is a light, vivid green. Relative luminance 0.326; OKLCH L 67.0% C 0.180 H 146.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#31B14B
RGBrgb(49, 177, 75)
HSLhsl(132, 57%, 44%)
HSVhsv(132, 72%, 69%)
CMYKcmyk(72.3%, 0%, 57.6%, 30.6%)
CIE-LABlab(63.84, -55.64, 41.80)
CIE-LCHlch(63.84, 69.59, 143.08°)
OKLaboklab(66.97% -0.15 0.0993)
OKLCHoklch(66.97% 0.18 146.5)
XYZxyz(18.2574, 32.6032, 11.9861)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B14B #B13197
analogous
#57B131 #31B14B #31B18B
triadic
#31B14B #4B31B1 #B14B31
tetradic
#31B14B #3157B1 #B13197 #B18B31
square
#31B14B #3157B1 #B13197 #B18B31
split-complementary
#31B14B #8B31B1 #B13157
monochromatic
#165122 #248137 #31B14B #51CF6A #80DC93

Accessibility & contrast

On white

2.79
#31B14B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#31B14B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B14B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B14B#FFFFFF#000000##000000
##31B14B1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A141
Deuteranopia (green-blind)
#A49753
Tritanopia (blue-blind)
#00AD9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b14b;
/* rgb */ color: rgb(49, 177, 75);
/* oklch */ color: oklch(67.0% 0.180 146.5);
Tailwind
colors: {
  custom: {
    50: '#7cc980',
    500: '#31b14b',
    950: '#000000',
  },
}
SCSS
$custom: #31b14b;
$custom-light: #7cc980;
$custom-dark: #000000;
JSON
{
  "hex": "#31b14b",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 75
  },
  "hsl": {
    "h": 132.188,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66972,
    "c": 0.17984,
    "h": 146.5
  },
  "luminance": 0.32605
}

Semantic roles & 50–950 ramp

primary
#31B14B
secondary
#C579B6
accent
#48C1E0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B14B

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

Preview Lab → · Contrast checker → · Palette generator →

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