#31A148#31A148

#31A148 is a light, vivid green. Relative luminance 0.266; OKLCH L 62.6% C 0.162 H 146.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#31A148
RGBrgb(49, 161, 72)
HSLhsl(132, 53%, 41%)
HSVhsv(132, 70%, 63%)
CMYKcmyk(69.6%, 0%, 55.3%, 36.9%)
CIE-LABlab(58.61, -50.32, 37.02)
CIE-LCHlch(58.61, 62.47, 143.65°)
OKLaboklab(62.64% -0.1357 0.0886)
OKLCHoklch(62.64% 0.162 146.9)
XYZxyz(15.1801, 26.6089, 10.4657)
Luminance0.2661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A148 #A1318A
analogous
#52A131 #31A148 #31A180
triadic
#31A148 #4831A1 #A14831
tetradic
#31A148 #3152A1 #A1318A #A18031
square
#31A148 #3152A1 #A1318A #A18031
split-complementary
#31A148 #8031A1 #A13152
monochromatic
#14431E #237233 #31A148 #48C762 #77D68A

Accessibility & contrast

On white

3.32
#31A148 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#31A148 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A148
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A148#FFFFFF#000000##000000
##31A1481.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39340
Deuteranopia (green-blind)
#96894F
Tritanopia (blue-blind)
#009D8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a148;
/* rgb */ color: rgb(49, 161, 72);
/* oklch */ color: oklch(62.6% 0.162 146.9);
Tailwind
colors: {
  custom: {
    50: '#78be7d',
    500: '#31a148',
    950: '#000000',
  },
}
SCSS
$custom: #31a148;
$custom-light: #78be7d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a148",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 72
  },
  "hsl": {
    "h": 132.321,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62635,
    "c": 0.16206,
    "h": 146.9
  },
  "luminance": 0.26611
}

Semantic roles & 50–950 ramp

primary
#31A148
secondary
#BE70AE
accent
#4BBFDD
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #31A148

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

Preview Lab → · Contrast checker → · Palette generator →

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