#31B770#31B770

#31B770 is a light, vivid green. Relative luminance 0.357; OKLCH L 69.2% C 0.154 H 155.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#31B770
RGBrgb(49, 183, 112)
HSLhsl(148, 58%, 45%)
HSVhsv(148, 73%, 72%)
CMYKcmyk(73.2%, 0%, 38.8%, 28.2%)
CIE-LABlab(66.28, -51.80, 26.12)
CIE-LCHlch(66.28, 58.01, 153.24°)
OKLaboklab(69.16% -0.1398 0.0652)
OKLCHoklch(69.16% 0.154 155)
XYZxyz(21.1228, 35.6873, 21.1012)
Luminance0.3569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B770 #B73178
analogous
#35B731 #31B770 #31B7B3
triadic
#31B770 #7031B7 #B77031
tetradic
#31B770 #3135B7 #B73178 #B7B331
square
#31B770 #3135B7 #B73178 #B7B331
split-complementary
#31B770 #B331B7 #B73135
monochromatic
#175635 #248752 #31B770 #54D18F #84DEAF

Accessibility & contrast

On white

2.58
#31B770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#31B770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B770
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B770#FFFFFF#000000##000000
##31B7701.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A86B
Deuteranopia (green-blind)
#A69C75
Tritanopia (blue-blind)
#00B5A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b770;
/* rgb */ color: rgb(49, 183, 112);
/* oklch */ color: oklch(69.2% 0.154 155.0);
Tailwind
colors: {
  custom: {
    50: '#7cce99',
    500: '#31b770',
    950: '#000000',
  },
}
SCSS
$custom: #31b770;
$custom-light: #7cce99;
$custom-dark: #000000;
JSON
{
  "hex": "#31b770",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 112
  },
  "hsl": {
    "h": 148.209,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69161,
    "c": 0.15427,
    "h": 155
  },
  "luminance": 0.3569
}

Semantic roles & 50–950 ramp

primary
#31B770
secondary
#C87CA4
accent
#4799E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B770

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

Preview Lab → · Contrast checker → · Palette generator →

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