#31B155#31B155

#31B155 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.1% C 0.171 H 148.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#31B155
RGBrgb(49, 177, 85)
HSLhsl(137, 57%, 44%)
HSVhsv(137, 72%, 69%)
CMYKcmyk(72.3%, 0%, 52%, 30.6%)
CIE-LABlab(63.96, -54.22, 37.08)
CIE-LCHlch(63.96, 65.69, 145.64°)
OKLaboklab(67.11% -0.1459 0.0895)
OKLCHoklch(67.11% 0.171 148.5)
XYZxyz(18.6270, 32.7510, 13.9325)
Luminance0.3275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B155 #B1318D
analogous
#4DB131 #31B155 #31B195
triadic
#31B155 #5531B1 #B15531
tetradic
#31B155 #314DB1 #B1318D #B19531
square
#31B155 #314DB1 #B1318D #B19531
split-complementary
#31B155 #9531B1 #B1314D
monochromatic
#165127 #24813E #31B155 #51CF74 #80DC9A

Accessibility & contrast

On white

2.78
#31B155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#31B155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B155
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B155#FFFFFF#000000##000000
##31B1551.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A14D
Deuteranopia (green-blind)
#A4975C
Tritanopia (blue-blind)
#00AD9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b155;
/* rgb */ color: rgb(49, 177, 85);
/* oklch */ color: oklch(67.1% 0.171 148.5);
Tailwind
colors: {
  custom: {
    50: '#7bc987',
    500: '#31b155',
    950: '#000000',
  },
}
SCSS
$custom: #31b155;
$custom-light: #7bc987;
$custom-dark: #000000;
JSON
{
  "hex": "#31b155",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 85
  },
  "hsl": {
    "h": 136.875,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67111,
    "c": 0.17119,
    "h": 148.5
  },
  "luminance": 0.32753
}

Semantic roles & 50–950 ramp

primary
#31B155
secondary
#C579B0
accent
#48B5E0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B155

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

Preview Lab → · Contrast checker → · Palette generator →

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