#31B032#31B032

#31B032 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.4% C 0.197 H 143.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#31B032
RGBrgb(49, 176, 50)
HSLhsl(120, 56%, 44%)
HSVhsv(120, 72%, 69%)
CMYKcmyk(72.2%, 0%, 71.6%, 31%)
CIE-LABlab(63.29, -58.03, 52.02)
CIE-LCHlch(63.29, 77.93, 138.13°)
OKLaboklab(66.44% -0.1575 0.1185)
OKLCHoklch(66.44% 0.197 143)
XYZxyz(17.3666, 31.9320, 8.2652)
Luminance0.3193 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B032 #B031AF
analogous
#70B031 #31B032 #31B071
triadic
#31B032 #3231B0 #B03231
tetradic
#31B032 #3170B0 #B031AF #B07131
square
#31B032 #3170B0 #B031AF #B07131
split-complementary
#31B032 #7131B0 #B03170
monochromatic
#165017 #248024 #31B032 #50CE51 #80DC81

Accessibility & contrast

On white

2.84
#31B032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#31B032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B032
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B032#FFFFFF#000000##000000
##31B0321.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1D
Deuteranopia (green-blind)
#A5953F
Tritanopia (blue-blind)
#00AB97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31b032;
/* rgb */ color: rgb(49, 176, 50);
/* oklch */ color: oklch(66.4% 0.197 143.0);
Tailwind
colors: {
  custom: {
    50: '#7dc971',
    500: '#31b032',
    950: '#000000',
  },
}
SCSS
$custom: #31b032;
$custom-light: #7dc971;
$custom-dark: #000000;
JSON
{
  "hex": "#31b032",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 50
  },
  "hsl": {
    "h": 120.472,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66441,
    "c": 0.19707,
    "h": 143
  },
  "luminance": 0.31934
}

Semantic roles & 50–950 ramp

primary
#31B032
secondary
#C578C4
accent
#48DFE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B032

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

Preview Lab → · Contrast checker → · Palette generator →

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