#31B149#31B149

#31B149 is a light, vivid green. Relative luminance 0.326; OKLCH L 66.9% C 0.181 H 146.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#31B149
RGBrgb(49, 177, 73)
HSLhsl(131, 57%, 44%)
HSVhsv(131, 72%, 69%)
CMYKcmyk(72.3%, 0%, 58.8%, 30.6%)
CIE-LABlab(63.82, -55.90, 42.72)
CIE-LCHlch(63.82, 70.35, 142.61°)
OKLaboklab(66.95% -0.1507 0.1011)
OKLCHoklch(66.95% 0.182 146.1)
XYZxyz(18.1901, 32.5762, 11.6312)
Luminance0.3258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B149 #B13199
analogous
#59B131 #31B149 #31B189
triadic
#31B149 #4931B1 #B14931
tetradic
#31B149 #3159B1 #B13199 #B18931
square
#31B149 #3159B1 #B13199 #B18931
split-complementary
#31B149 #8931B1 #B13159
monochromatic
#165121 #248135 #31B149 #51CF68 #80DC92

Accessibility & contrast

On white

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

On black

7.52
#31B149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B149
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B149#FFFFFF#000000##000000
##31B1491.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13E
Deuteranopia (green-blind)
#A59751
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b149;
/* rgb */ color: rgb(49, 177, 73);
/* oklch */ color: oklch(66.9% 0.181 146.1);
Tailwind
colors: {
  custom: {
    50: '#7cc97f',
    500: '#31b149',
    950: '#000000',
  },
}
SCSS
$custom: #31b149;
$custom-light: #7cc97f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b149",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 131.25,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66947,
    "c": 0.1815,
    "h": 146.1
  },
  "luminance": 0.32578
}

Semantic roles & 50–950 ramp

primary
#31B149
secondary
#C579B7
accent
#48C3E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B149

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

Preview Lab → · Contrast checker → · Palette generator →

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