#31B154#31B154

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

Color values

HEX#31B154
RGBrgb(49, 177, 84)
HSLhsl(136, 57%, 44%)
HSVhsv(136, 72%, 69%)
CMYKcmyk(72.3%, 0%, 52.5%, 30.6%)
CIE-LABlab(63.95, -54.37, 37.56)
CIE-LCHlch(63.95, 66.08, 145.36°)
OKLaboklab(67.1% -0.1463 0.0905)
OKLCHoklch(67.1% 0.172 148.3)
XYZxyz(18.5876, 32.7352, 13.7247)
Luminance0.3274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B154 #B1318E
analogous
#4EB131 #31B154 #31B194
triadic
#31B154 #5431B1 #B15431
tetradic
#31B154 #314EB1 #B1318E #B19431
square
#31B154 #314EB1 #B1318E #B19431
split-complementary
#31B154 #9431B1 #B1314E
monochromatic
#165127 #24813D #31B154 #51CF73 #80DC99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B154#FFFFFF#000000##000000
##31B1541.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)
#B3A14C
Deuteranopia (green-blind)
#A4975B
Tritanopia (blue-blind)
#00AD9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b154;
/* rgb */ color: rgb(49, 177, 84);
/* oklch */ color: oklch(67.1% 0.172 148.3);
Tailwind
colors: {
  custom: {
    50: '#7bc986',
    500: '#31b154',
    950: '#000000',
  },
}
SCSS
$custom: #31b154;
$custom-light: #7bc986;
$custom-dark: #000000;
JSON
{
  "hex": "#31b154",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 84
  },
  "hsl": {
    "h": 136.406,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67096,
    "c": 0.17209,
    "h": 148.3
  },
  "luminance": 0.32737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B154

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

Preview Lab → · Contrast checker → · Palette generator →

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