#31B72A#31B72A

#31B72A is a light, highly saturated green. Relative luminance 0.347; OKLCH L 68.3% C 0.209 H 142.3°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#31B72A
RGBrgb(49, 183, 42)
HSLhsl(117, 63%, 44%)
HSVhsv(117, 77%, 72%)
CMYKcmyk(73.2%, 0%, 77%, 28.2%)
CIE-LABlab(65.50, -60.93, 57.09)
CIE-LCHlch(65.50, 83.50, 136.86°)
OKLaboklab(68.27% -0.1657 0.128)
OKLCHoklch(68.27% 0.209 142.3)
XYZxyz(18.6169, 34.6850, 7.9038)
Luminance0.3469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B72A #B02AB7
analogous
#78B72A #31B72A #2AB76A
triadic
#31B72A #2A31B7 #B72A31
tetradic
#31B72A #2A78B7 #B02AB7 #B76A2A
square
#31B72A #2A78B7 #B02AB7 #B76A2A
split-complementary
#31B72A #6A2AB7 #B72A78
monochromatic
#165313 #24851F #31B72A #50D549 #80E17B

Accessibility & contrast

On white

2.65
#31B72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#31B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B72A
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B72A#FFFFFF#000000##000000
##31B72A1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA505
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#00B19C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b72a;
/* rgb */ color: rgb(49, 183, 42);
/* oklch */ color: oklch(68.3% 0.209 142.3);
Tailwind
colors: {
  custom: {
    50: '#7fce6e',
    500: '#31b72a',
    950: '#000000',
  },
}
SCSS
$custom: #31b72a;
$custom-light: #7fce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b72a",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 117.021,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68265,
    "c": 0.20941,
    "h": 142.3
  },
  "luminance": 0.34687
}

Semantic roles & 50–950 ramp

primary
#31B72A
secondary
#C574C9
accent
#42E6DE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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