#31A151#31A151

#31A151 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.8% C 0.154 H 149.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#31A151
RGBrgb(49, 161, 81)
HSLhsl(137, 53%, 41%)
HSVhsv(137, 70%, 63%)
CMYKcmyk(69.6%, 0%, 49.7%, 36.9%)
CIE-LABlab(58.73, -48.96, 32.62)
CIE-LCHlch(58.73, 58.83, 146.33°)
OKLaboklab(62.77% -0.1319 0.0793)
OKLCHoklch(62.77% 0.154 149)
XYZxyz(15.4955, 26.7351, 12.1267)
Luminance0.2674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A151 #A13181
analogous
#49A131 #31A151 #31A189
triadic
#31A151 #5131A1 #A15131
tetradic
#31A151 #3149A1 #A13181 #A18931
square
#31A151 #3149A1 #A13181 #A18931
split-complementary
#31A151 #8931A1 #A13149
monochromatic
#144322 #237239 #31A151 #48C76C #77D692

Accessibility & contrast

On white

3.31
#31A151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#31A151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A151
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A151#FFFFFF#000000##000000
##31A1511.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2934A
Deuteranopia (green-blind)
#958A57
Tritanopia (blue-blind)
#009E8E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a151;
/* rgb */ color: rgb(49, 161, 81);
/* oklch */ color: oklch(62.8% 0.154 149.0);
Tailwind
colors: {
  custom: {
    50: '#78be83',
    500: '#31a151',
    950: '#000000',
  },
}
SCSS
$custom: #31a151;
$custom-light: #78be83;
$custom-dark: #000000;
JSON
{
  "hex": "#31a151",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 137.143,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62771,
    "c": 0.15389,
    "h": 149
  },
  "luminance": 0.26737
}

Semantic roles & 50–950 ramp

primary
#31A151
secondary
#BE70A8
accent
#4BB3DD
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A151

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

Preview Lab → · Contrast checker → · Palette generator →

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