#31B670#31B670

#31B670 is a light, vivid green. Relative luminance 0.353; OKLCH L 68.9% C 0.153 H 155.2°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#31B670
RGBrgb(49, 182, 112)
HSLhsl(148, 58%, 45%)
HSVhsv(148, 73%, 71%)
CMYKcmyk(73.1%, 0%, 38.5%, 28.6%)
CIE-LABlab(65.96, -51.42, 25.70)
CIE-LCHlch(65.96, 57.48, 153.44°)
OKLaboklab(68.9% -0.1388 0.0642)
OKLCHoklch(68.9% 0.153 155.2)
XYZxyz(20.9172, 35.2763, 21.0327)
Luminance0.3528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B670 #B63177
analogous
#34B631 #31B670 #31B6B2
triadic
#31B670 #7031B6 #B67031
tetradic
#31B670 #3134B6 #B63177 #B6B231
square
#31B670 #3134B6 #B63177 #B6B231
split-complementary
#31B670 #B231B6 #B63134
monochromatic
#175635 #248652 #31B670 #53D18F #84DEAE

Accessibility & contrast

On white

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

On black

8.06
#31B670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B670
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B670#FFFFFF#000000##000000
##31B6701.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b670;
/* rgb */ color: rgb(49, 182, 112);
/* oklch */ color: oklch(68.9% 0.153 155.2);
Tailwind
colors: {
  custom: {
    50: '#7ccd99',
    500: '#31b670',
    950: '#000000',
  },
}
SCSS
$custom: #31b670;
$custom-light: #7ccd99;
$custom-dark: #000000;
JSON
{
  "hex": "#31b670",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 112
  },
  "hsl": {
    "h": 148.421,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68899,
    "c": 0.15295,
    "h": 155.2
  },
  "luminance": 0.35279
}

Semantic roles & 50–950 ramp

primary
#31B670
secondary
#C77CA3
accent
#4798E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B670

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

Preview Lab → · Contrast checker → · Palette generator →

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