#31B666#31B666

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

Color values

HEX#31B666
RGBrgb(49, 182, 102)
HSLhsl(144, 58%, 45%)
HSVhsv(144, 73%, 71%)
CMYKcmyk(73.1%, 0%, 44%, 28.6%)
CIE-LABlab(65.80, -53.26, 30.74)
CIE-LCHlch(65.80, 61.50, 150.01°)
OKLaboklab(68.71% -0.1434 0.0758)
OKLCHoklch(68.71% 0.162 152.1)
XYZxyz(20.3911, 35.0658, 18.2615)
Luminance0.3507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B666 #B63181
analogous
#3EB631 #31B666 #31B6A9
triadic
#31B666 #6631B6 #B66631
tetradic
#31B666 #313EB6 #B63181 #B6A931
square
#31B666 #313EB6 #B63181 #B6A931
split-complementary
#31B666 #A931B6 #B6313E
monochromatic
#175630 #24864B #31B666 #53D185 #84DEA8

Accessibility & contrast

On white

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

On black

8.01
#31B666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B666
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B666#FFFFFF#000000##000000
##31B6661.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b666;
/* rgb */ color: rgb(49, 182, 102);
/* oklch */ color: oklch(68.7% 0.162 152.1);
Tailwind
colors: {
  custom: {
    50: '#7ccd92',
    500: '#31b666',
    950: '#000000',
  },
}
SCSS
$custom: #31b666;
$custom-light: #7ccd92;
$custom-dark: #000000;
JSON
{
  "hex": "#31b666",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 102
  },
  "hsl": {
    "h": 143.91,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68711,
    "c": 0.1622,
    "h": 152.1
  },
  "luminance": 0.35068
}

Semantic roles & 50–950 ramp

primary
#31B666
secondary
#C77CA9
accent
#47A4E1
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31B666

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

Preview Lab → · Contrast checker → · Palette generator →

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