#31B772#31B772

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

Color values

HEX#31B772
RGBrgb(49, 183, 114)
HSLhsl(149, 58%, 45%)
HSVhsv(149, 73%, 72%)
CMYKcmyk(73.2%, 0%, 37.7%, 28.2%)
CIE-LABlab(66.31, -51.41, 25.11)
CIE-LCHlch(66.31, 57.21, 153.97°)
OKLaboklab(69.2% -0.1389 0.0628)
OKLCHoklch(69.2% 0.152 155.7)
XYZxyz(21.2354, 35.7324, 21.6942)
Luminance0.3574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B772 #B73176
analogous
#33B731 #31B772 #31B7B5
triadic
#31B772 #7231B7 #B77231
tetradic
#31B772 #3133B7 #B73176 #B7B531
square
#31B772 #3133B7 #B73176 #B7B531
split-complementary
#31B772 #B531B7 #B73133
monochromatic
#175636 #248754 #31B772 #54D191 #84DEB0

Accessibility & contrast

On white

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

On black

8.15
#31B772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B772
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B772#FFFFFF#000000##000000
##31B7721.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b772;
/* rgb */ color: rgb(49, 183, 114);
/* oklch */ color: oklch(69.2% 0.152 155.7);
Tailwind
colors: {
  custom: {
    50: '#7cce9b',
    500: '#31b772',
    950: '#000000',
  },
}
SCSS
$custom: #31b772;
$custom-light: #7cce9b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b772",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 114
  },
  "hsl": {
    "h": 149.104,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.692,
    "c": 0.15244,
    "h": 155.7
  },
  "luminance": 0.35735
}

Semantic roles & 50–950 ramp

primary
#31B772
secondary
#C87CA3
accent
#4796E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B772

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

Preview Lab → · Contrast checker → · Palette generator →

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