#31B668#31B668

#31B668 is a light, vivid green. Relative luminance 0.351; OKLCH L 68.7% C 0.160 H 152.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#31B668
RGBrgb(49, 182, 104)
HSLhsl(145, 58%, 45%)
HSVhsv(145, 73%, 71%)
CMYKcmyk(73.1%, 0%, 42.9%, 28.6%)
CIE-LABlab(65.83, -52.91, 29.74)
CIE-LCHlch(65.83, 60.69, 150.66°)
OKLaboklab(68.75% -0.1425 0.0736)
OKLCHoklch(68.75% 0.16 152.7)
XYZxyz(20.4915, 35.1060, 18.7902)
Luminance0.3511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B668 #B6317F
analogous
#3CB631 #31B668 #31B6AA
triadic
#31B668 #6831B6 #B66831
tetradic
#31B668 #313CB6 #B6317F #B6AA31
square
#31B668 #313CB6 #B6317F #B6AA31
split-complementary
#31B668 #AA31B6 #B6313C
monochromatic
#175631 #24864C #31B668 #53D187 #84DEA9

Accessibility & contrast

On white

2.62
#31B668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#31B668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B668
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B668#FFFFFF#000000##000000
##31B6681.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A762
Deuteranopia (green-blind)
#A69B6D
Tritanopia (blue-blind)
#00B3A3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b668;
/* rgb */ color: rgb(49, 182, 104);
/* oklch */ color: oklch(68.7% 0.160 152.7);
Tailwind
colors: {
  custom: {
    50: '#7ccd94',
    500: '#31b668',
    950: '#000000',
  },
}
SCSS
$custom: #31b668;
$custom-light: #7ccd94;
$custom-dark: #000000;
JSON
{
  "hex": "#31b668",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 104
  },
  "hsl": {
    "h": 144.812,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68747,
    "c": 0.16035,
    "h": 152.7
  },
  "luminance": 0.35108
}

Semantic roles & 50–950 ramp

primary
#31B668
secondary
#C77CA8
accent
#47A1E1
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31B668

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

Preview Lab → · Contrast checker → · Palette generator →

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