#31B551#31B551

#31B551 is a light, vivid green. Relative luminance 0.343; OKLCH L 68.1% C 0.180 H 147.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#31B551
RGBrgb(49, 181, 81)
HSLhsl(135, 57%, 45%)
HSVhsv(135, 73%, 71%)
CMYKcmyk(72.9%, 0%, 55.2%, 29%)
CIE-LABlab(65.19, -56.22, 40.54)
CIE-LCHlch(65.19, 69.31, 144.20°)
OKLaboklab(68.12% -0.1514 0.0969)
OKLCHoklch(68.12% 0.18 147.4)
XYZxyz(19.2743, 34.2926, 13.3863)
Luminance0.3429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B551 #B53195
analogous
#53B531 #31B551 #31B593
triadic
#31B551 #5131B5 #B55131
tetradic
#31B551 #3153B5 #B53195 #B59331
square
#31B551 #3153B5 #B53195 #B59331
split-complementary
#31B551 #9331B5 #B53153
monochromatic
#175526 #24853B #31B551 #53D071 #83DD99

Accessibility & contrast

On white

2.67
#31B551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#31B551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B551
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B551#FFFFFF#000000##000000
##31B5511.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A548
Deuteranopia (green-blind)
#A89A59
Tritanopia (blue-blind)
#00B19F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b551;
/* rgb */ color: rgb(49, 181, 81);
/* oklch */ color: oklch(68.1% 0.180 147.4);
Tailwind
colors: {
  custom: {
    50: '#7ccc84',
    500: '#31b551',
    950: '#000000',
  },
}
SCSS
$custom: #31b551;
$custom-light: #7ccc84;
$custom-dark: #000000;
JSON
{
  "hex": "#31b551",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 81
  },
  "hsl": {
    "h": 134.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68117,
    "c": 0.17976,
    "h": 147.4
  },
  "luminance": 0.34295
}

Semantic roles & 50–950 ramp

primary
#31B551
secondary
#C77BB4
accent
#47BBE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B551

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

Preview Lab → · Contrast checker → · Palette generator →

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