#31B150#31B150

#31B150 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.0% C 0.176 H 147.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#31B150
RGBrgb(49, 177, 80)
HSLhsl(135, 57%, 44%)
HSVhsv(135, 72%, 69%)
CMYKcmyk(72.3%, 0%, 54.8%, 30.6%)
CIE-LABlab(63.90, -54.95, 39.46)
CIE-LCHlch(63.90, 67.66, 144.32°)
OKLaboklab(67.04% -0.148 0.0945)
OKLCHoklch(67.04% 0.176 147.4)
XYZxyz(18.4354, 32.6744, 12.9231)
Luminance0.3268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B150 #B13192
analogous
#52B131 #31B150 #31B190
triadic
#31B150 #5031B1 #B15031
tetradic
#31B150 #3152B1 #B13192 #B19031
square
#31B150 #3152B1 #B13192 #B19031
split-complementary
#31B150 #9031B1 #B13152
monochromatic
#165125 #24813A #31B150 #51CF6F #80DC97

Accessibility & contrast

On white

2.79
#31B150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#31B150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B150
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B150#FFFFFF#000000##000000
##31B1501.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A147
Deuteranopia (green-blind)
#A49757
Tritanopia (blue-blind)
#00AD9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b150;
/* rgb */ color: rgb(49, 177, 80);
/* oklch */ color: oklch(67.0% 0.176 147.4);
Tailwind
colors: {
  custom: {
    50: '#7bc983',
    500: '#31b150',
    950: '#000000',
  },
}
SCSS
$custom: #31b150;
$custom-light: #7bc983;
$custom-dark: #000000;
JSON
{
  "hex": "#31b150",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 80
  },
  "hsl": {
    "h": 134.531,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67039,
    "c": 0.17559,
    "h": 147.4
  },
  "luminance": 0.32676
}

Semantic roles & 50–950 ramp

primary
#31B150
secondary
#C579B3
accent
#48BBE0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B150

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

Preview Lab → · Contrast checker → · Palette generator →

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