#31B657#31B657

#31B657 is a light, vivid green. Relative luminance 0.348; OKLCH L 68.5% C 0.176 H 148.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#31B657
RGBrgb(49, 182, 87)
HSLhsl(137, 58%, 45%)
HSVhsv(137, 73%, 71%)
CMYKcmyk(73.1%, 0%, 52.2%, 28.6%)
CIE-LABlab(65.59, -55.71, 38.09)
CIE-LCHlch(65.59, 67.48, 145.64°)
OKLaboklab(68.47% -0.1499 0.0919)
OKLCHoklch(68.47% 0.176 148.5)
XYZxyz(19.7133, 34.7947, 14.6921)
Luminance0.3480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B657 #B63190
analogous
#4DB631 #31B657 #31B69A
triadic
#31B657 #5731B6 #B65731
tetradic
#31B657 #314DB6 #B63190 #B69A31
square
#31B657 #314DB6 #B63190 #B69A31
split-complementary
#31B657 #9A31B6 #B6314D
monochromatic
#175629 #248640 #31B657 #53D177 #84DE9D

Accessibility & contrast

On white

2.64
#31B657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#31B657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B657
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B657#FFFFFF#000000##000000
##31B6571.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A64F
Deuteranopia (green-blind)
#A89B5E
Tritanopia (blue-blind)
#00B2A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b657;
/* rgb */ color: rgb(49, 182, 87);
/* oklch */ color: oklch(68.5% 0.176 148.5);
Tailwind
colors: {
  custom: {
    50: '#7ccd88',
    500: '#31b657',
    950: '#000000',
  },
}
SCSS
$custom: #31b657;
$custom-light: #7ccd88;
$custom-dark: #000000;
JSON
{
  "hex": "#31b657",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 87
  },
  "hsl": {
    "h": 137.143,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68467,
    "c": 0.17581,
    "h": 148.5
  },
  "luminance": 0.34797
}

Semantic roles & 50–950 ramp

primary
#31B657
secondary
#C77CB2
accent
#47B5E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B657

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

Preview Lab → · Contrast checker → · Palette generator →

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