#31B048#31B048

#31B048 is a light, vivid green. Relative luminance 0.322; OKLCH L 66.7% C 0.181 H 146.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#31B048
RGBrgb(49, 176, 72)
HSLhsl(131, 56%, 44%)
HSVhsv(131, 72%, 69%)
CMYKcmyk(72.2%, 0%, 59.1%, 31%)
CIE-LABlab(63.48, -55.68, 42.80)
CIE-LCHlch(63.48, 70.22, 142.45°)
OKLaboklab(66.67% -0.1502 0.1012)
OKLCHoklch(66.67% 0.181 146)
XYZxyz(17.9604, 32.1695, 11.3924)
Luminance0.3217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B048 #B03199
analogous
#5AB031 #31B048 #31B088
triadic
#31B048 #4831B0 #B04831
tetradic
#31B048 #315AB0 #B03199 #B08831
square
#31B048 #315AB0 #B03199 #B08831
split-complementary
#31B048 #8831B0 #B0315A
monochromatic
#165021 #248034 #31B048 #50CE67 #80DC90

Accessibility & contrast

On white

2.82
#31B048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#31B048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B048
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B048#FFFFFF#000000##000000
##31B0481.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A03D
Deuteranopia (green-blind)
#A49650
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b048;
/* rgb */ color: rgb(49, 176, 72);
/* oklch */ color: oklch(66.7% 0.181 146.0);
Tailwind
colors: {
  custom: {
    50: '#7cc97e',
    500: '#31b048',
    950: '#000000',
  },
}
SCSS
$custom: #31b048;
$custom-light: #7cc97e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b048",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 130.866,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66667,
    "c": 0.18108,
    "h": 146
  },
  "luminance": 0.32172
}

Semantic roles & 50–950 ramp

primary
#31B048
secondary
#C578B7
accent
#48C4E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B048

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

Preview Lab → · Contrast checker → · Palette generator →

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