#31B050#31B050

#31B050 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.8% C 0.174 H 147.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#31B050
RGBrgb(49, 176, 80)
HSLhsl(135, 56%, 44%)
HSVhsv(135, 72%, 69%)
CMYKcmyk(72.2%, 0%, 54.5%, 31%)
CIE-LABlab(63.57, -54.60, 39.08)
CIE-LCHlch(63.57, 67.14, 144.41°)
OKLaboklab(66.77% -0.147 0.0937)
OKLCHoklch(66.77% 0.174 147.5)
XYZxyz(18.2386, 32.2808, 12.8575)
Luminance0.3228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B050 #B03191
analogous
#52B031 #31B050 #31B090
triadic
#31B050 #5031B0 #B05031
tetradic
#31B050 #3152B0 #B03191 #B09031
square
#31B050 #3152B0 #B03191 #B09031
split-complementary
#31B050 #9031B0 #B03152
monochromatic
#165024 #24803A #31B050 #50CE6F #80DC96

Accessibility & contrast

On white

2.82
#31B050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#31B050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B050
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B050#FFFFFF#000000##000000
##31B0501.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A047
Deuteranopia (green-blind)
#A39657
Tritanopia (blue-blind)
#00AC9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b050;
/* rgb */ color: rgb(49, 176, 80);
/* oklch */ color: oklch(66.8% 0.174 147.5);
Tailwind
colors: {
  custom: {
    50: '#7bc983',
    500: '#31b050',
    950: '#000000',
  },
}
SCSS
$custom: #31b050;
$custom-light: #7bc983;
$custom-dark: #000000;
JSON
{
  "hex": "#31b050",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 80
  },
  "hsl": {
    "h": 134.646,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66772,
    "c": 0.17432,
    "h": 147.5
  },
  "luminance": 0.32283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B050

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

Preview Lab → · Contrast checker → · Palette generator →

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