#31C06C#31C06C

#31C06C is a light, vivid green. Relative luminance 0.394; OKLCH L 71.4% C 0.170 H 152.4°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#31C06C
RGBrgb(49, 192, 108)
HSLhsl(145, 59%, 47%)
HSVhsv(145, 74%, 75%)
CMYKcmyk(74.5%, 0%, 43.7%, 24.7%)
CIE-LABlab(69.06, -55.88, 31.86)
CIE-LCHlch(69.06, 64.33, 150.31°)
OKLaboklab(71.44% -0.1504 0.0786)
OKLCHoklch(71.44% 0.17 152.4)
XYZxyz(22.8210, 39.4323, 20.5929)
Luminance0.3943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C06C #C03185
analogous
#3EC031 #31C06C #31C0B3
triadic
#31C06C #6C31C0 #C06C31
tetradic
#31C06C #313EC0 #C03185 #C0B331
square
#31C06C #313EC0 #C03185 #C0B331
split-complementary
#31C06C #B331C0 #C0313E
monochromatic
#185E35 #258F51 #31C06C #59D58C #8AE1AE

Accessibility & contrast

On white

2.36
#31C06C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#31C06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C06C
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C06C#FFFFFF#000000##000000
##31C06C1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B066
Deuteranopia (green-blind)
#AFA472
Tritanopia (blue-blind)
#00BDAC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c06c;
/* rgb */ color: rgb(49, 192, 108);
/* oklch */ color: oklch(71.4% 0.170 152.4);
Tailwind
colors: {
  custom: {
    50: '#7ed497',
    500: '#31c06c',
    950: '#000000',
  },
}
SCSS
$custom: #31c06c;
$custom-light: #7ed497;
$custom-dark: #000000;
JSON
{
  "hex": "#31c06c",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 108
  },
  "hsl": {
    "h": 144.755,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71436,
    "c": 0.16968,
    "h": 152.4
  },
  "luminance": 0.39435
}

Semantic roles & 50–950 ramp

primary
#31C06C
secondary
#CB82AD
accent
#45A2E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0B140D
muted
#7C837E

Preview Lab

Preview with #31C06C

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

Preview Lab → · Contrast checker → · Palette generator →

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