#31C138#31C138

#31C138 is a light, highly saturated green. Relative luminance 0.391; OKLCH L 71.0% C 0.212 H 143.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#31C138
RGBrgb(49, 193, 56)
HSLhsl(123, 60%, 47%)
HSVhsv(123, 75%, 76%)
CMYKcmyk(74.6%, 0%, 71%, 24.3%)
CIE-LABlab(68.81, -63.04, 55.46)
CIE-LCHlch(68.81, 83.96, 138.66°)
OKLaboklab(71.04% -0.1708 0.1264)
OKLCHoklch(71.04% 0.213 143.5)
XYZxyz(21.0490, 39.0760, 10.1737)
Luminance0.3908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C138 #C131BA
analogous
#72C131 #31C138 #31C180
triadic
#31C138 #3831C1 #C13831
tetradic
#31C138 #3172C1 #C131BA #C18031
square
#31C138 #3172C1 #C131BA #C18031
split-complementary
#31C138 #8031C1 #C13172
monochromatic
#185F1C #25902A #31C138 #5AD560 #8BE28F

Accessibility & contrast

On white

2.38
#31C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#31C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C138
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C138#FFFFFF#000000##000000
##31C1381.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF22
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#00BBA6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #31c138;
/* rgb */ color: rgb(49, 193, 56);
/* oklch */ color: oklch(71.0% 0.212 143.5);
Tailwind
colors: {
  custom: {
    50: '#80d576',
    500: '#31c138',
    950: '#000000',
  },
}
SCSS
$custom: #31c138;
$custom-light: #80d576;
$custom-dark: #000000;
JSON
{
  "hex": "#31c138",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 122.917,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71037,
    "c": 0.2125,
    "h": 143.5
  },
  "luminance": 0.39078
}

Semantic roles & 50–950 ramp

primary
#31C138
secondary
#CC82C8
accent
#45DBE3
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1409
muted
#7D837B

Preview Lab

Preview with #31C138

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

Preview Lab → · Contrast checker → · Palette generator →

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