#31B151#31B151

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

Color values

HEX#31B151
RGBrgb(49, 177, 81)
HSLhsl(135, 57%, 44%)
HSVhsv(135, 72%, 69%)
CMYKcmyk(72.3%, 0%, 54.2%, 30.6%)
CIE-LABlab(63.91, -54.81, 38.99)
CIE-LCHlch(63.91, 67.26, 144.57°)
OKLaboklab(67.05% -0.1476 0.0935)
OKLCHoklch(67.05% 0.175 147.6)
XYZxyz(18.4726, 32.6892, 13.1191)
Luminance0.3269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B151 #B13191
analogous
#51B131 #31B151 #31B191
triadic
#31B151 #5131B1 #B15131
tetradic
#31B151 #3151B1 #B13191 #B19131
square
#31B151 #3151B1 #B13191 #B19131
split-complementary
#31B151 #9131B1 #B13151
monochromatic
#165125 #24813B #31B151 #51CF70 #80DC97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B151#FFFFFF#000000##000000
##31B1511.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)
#B3A148
Deuteranopia (green-blind)
#A49758
Tritanopia (blue-blind)
#00AD9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b151;
/* rgb */ color: rgb(49, 177, 81);
/* oklch */ color: oklch(67.1% 0.175 147.6);
Tailwind
colors: {
  custom: {
    50: '#7bc984',
    500: '#31b151',
    950: '#000000',
  },
}
SCSS
$custom: #31b151;
$custom-light: #7bc984;
$custom-dark: #000000;
JSON
{
  "hex": "#31b151",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 135,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67053,
    "c": 0.17472,
    "h": 147.6
  },
  "luminance": 0.32691
}

Semantic roles & 50–950 ramp

primary
#31B151
secondary
#C579B2
accent
#48BAE0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B151

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

Preview Lab → · Contrast checker → · Palette generator →

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