#31B570#31B570

#31B570 is a light, vivid green. Relative luminance 0.349; OKLCH L 68.6% C 0.152 H 155.4°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#31B570
RGBrgb(49, 181, 112)
HSLhsl(149, 57%, 45%)
HSVhsv(149, 73%, 71%)
CMYKcmyk(72.9%, 0%, 38.1%, 29%)
CIE-LABlab(65.65, -51.03, 25.28)
CIE-LCHlch(65.65, 56.95, 153.65°)
OKLaboklab(68.64% -0.1378 0.0632)
OKLCHoklch(68.64% 0.152 155.4)
XYZxyz(20.7132, 34.8682, 20.9647)
Luminance0.3487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B570 #B53176
analogous
#34B531 #31B570 #31B5B2
triadic
#31B570 #7031B5 #B57031
tetradic
#31B570 #3134B5 #B53176 #B5B231
square
#31B570 #3134B5 #B53176 #B5B231
split-complementary
#31B570 #B231B5 #B53134
monochromatic
#175534 #248552 #31B570 #53D08F #83DDAE

Accessibility & contrast

On white

2.63
#31B570 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#31B570 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B570
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B570#FFFFFF#000000##000000
##31B5701.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A66B
Deuteranopia (green-blind)
#A49B75
Tritanopia (blue-blind)
#00B3A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b570;
/* rgb */ color: rgb(49, 181, 112);
/* oklch */ color: oklch(68.6% 0.152 155.4);
Tailwind
colors: {
  custom: {
    50: '#7ccc99',
    500: '#31b570',
    950: '#000000',
  },
}
SCSS
$custom: #31b570;
$custom-light: #7ccc99;
$custom-dark: #000000;
JSON
{
  "hex": "#31b570",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 112
  },
  "hsl": {
    "h": 148.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68637,
    "c": 0.15163,
    "h": 155.4
  },
  "luminance": 0.34871
}

Semantic roles & 50–950 ramp

primary
#31B570
secondary
#C77BA3
accent
#4797E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B570

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

Preview Lab → · Contrast checker → · Palette generator →

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