#31B66C#31B66C

#31B66C is a light, vivid green. Relative luminance 0.352; OKLCH L 68.8% C 0.157 H 153.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#31B66C
RGBrgb(49, 182, 108)
HSLhsl(147, 58%, 45%)
HSVhsv(147, 73%, 71%)
CMYKcmyk(73.1%, 0%, 40.7%, 28.6%)
CIE-LABlab(65.90, -52.18, 27.73)
CIE-LCHlch(65.90, 59.09, 152.01°)
OKLaboklab(68.82% -0.1407 0.0689)
OKLCHoklch(68.82% 0.157 153.9)
XYZxyz(20.6995, 35.1892, 19.8857)
Luminance0.3519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B66C #B6317B
analogous
#38B631 #31B66C #31B6AF
triadic
#31B66C #6C31B6 #B66C31
tetradic
#31B66C #3138B6 #B6317B #B6AF31
square
#31B66C #3138B6 #B6317B #B6AF31
split-complementary
#31B66C #AF31B6 #B63138
monochromatic
#175633 #24864F #31B66C #53D18B #84DEAC

Accessibility & contrast

On white

2.61
#31B66C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#31B66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B66C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B66C#FFFFFF#000000##000000
##31B66C1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A767
Deuteranopia (green-blind)
#A69C71
Tritanopia (blue-blind)
#00B4A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b66c;
/* rgb */ color: rgb(49, 182, 108);
/* oklch */ color: oklch(68.8% 0.157 153.9);
Tailwind
colors: {
  custom: {
    50: '#7ccd97',
    500: '#31b66c',
    950: '#000000',
  },
}
SCSS
$custom: #31b66c;
$custom-light: #7ccd97;
$custom-dark: #000000;
JSON
{
  "hex": "#31b66c",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 108
  },
  "hsl": {
    "h": 146.617,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68821,
    "c": 0.15665,
    "h": 153.9
  },
  "luminance": 0.35192
}

Semantic roles & 50–950 ramp

primary
#31B66C
secondary
#C77CA6
accent
#479DE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31B66C

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

Preview Lab → · Contrast checker → · Palette generator →

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