#31B148#31B148

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

Color values

HEX#31B148
RGBrgb(49, 177, 72)
HSLhsl(131, 57%, 44%)
HSVhsv(131, 72%, 69%)
CMYKcmyk(72.3%, 0%, 59.3%, 30.6%)
CIE-LABlab(63.81, -56.02, 43.17)
CIE-LCHlch(63.81, 70.73, 142.38°)
OKLaboklab(66.93% -0.1511 0.102)
OKLCHoklch(66.93% 0.182 146)
XYZxyz(18.1572, 32.5631, 11.4580)
Luminance0.3256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B148 #B1319A
analogous
#5AB131 #31B148 #31B188
triadic
#31B148 #4831B1 #B14831
tetradic
#31B148 #315AB1 #B1319A #B18831
square
#31B148 #315AB1 #B1319A #B18831
split-complementary
#31B148 #8831B1 #B1315A
monochromatic
#165121 #248135 #31B148 #51CF67 #80DC91

Accessibility & contrast

On white

2.80
#31B148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#31B148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B148
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B148#FFFFFF#000000##000000
##31B1481.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b148;
/* rgb */ color: rgb(49, 177, 72);
/* oklch */ color: oklch(66.9% 0.182 146.0);
Tailwind
colors: {
  custom: {
    50: '#7cc97e',
    500: '#31b148',
    950: '#000000',
  },
}
SCSS
$custom: #31b148;
$custom-light: #7cc97e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b148",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 130.781,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66934,
    "c": 0.18232,
    "h": 146
  },
  "luminance": 0.32565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B148

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

Preview Lab → · Contrast checker → · Palette generator →

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