#31B14C#31B14C

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

Color values

HEX#31B14C
RGBrgb(49, 177, 76)
HSLhsl(133, 57%, 44%)
HSVhsv(133, 72%, 69%)
CMYKcmyk(72.3%, 0%, 57.1%, 30.6%)
CIE-LABlab(63.85, -55.50, 41.34)
CIE-LCHlch(63.85, 69.21, 143.32°)
OKLaboklab(66.99% -0.1496 0.0983)
OKLCHoklch(66.99% 0.179 146.7)
XYZxyz(18.2919, 32.6170, 12.1678)
Luminance0.3262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B14C #B13196
analogous
#56B131 #31B14C #31B18C
triadic
#31B14C #4C31B1 #B14C31
tetradic
#31B14C #3156B1 #B13196 #B18C31
square
#31B14C #3156B1 #B13196 #B18C31
split-complementary
#31B14C #8C31B1 #B13156
monochromatic
#165123 #248137 #31B14C #51CF6B #80DC94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B14C#FFFFFF#000000##000000
##31B14C1.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)
#B3A142
Deuteranopia (green-blind)
#A49754
Tritanopia (blue-blind)
#00AD9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b14c;
/* rgb */ color: rgb(49, 177, 76);
/* oklch */ color: oklch(67.0% 0.179 146.7);
Tailwind
colors: {
  custom: {
    50: '#7cc981',
    500: '#31b14c',
    950: '#000000',
  },
}
SCSS
$custom: #31b14c;
$custom-light: #7cc981;
$custom-dark: #000000;
JSON
{
  "hex": "#31b14c",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 76
  },
  "hsl": {
    "h": 132.656,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66985,
    "c": 0.17901,
    "h": 146.7
  },
  "luminance": 0.32619
}

Semantic roles & 50–950 ramp

primary
#31B14C
secondary
#C579B5
accent
#48C0E0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B14C

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

Preview Lab → · Contrast checker → · Palette generator →

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