#31B72E#31B72E

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

Color values

HEX#31B72E
RGBrgb(49, 183, 46)
HSLhsl(119, 60%, 45%)
HSVhsv(119, 75%, 72%)
CMYKcmyk(73.2%, 0%, 74.9%, 28.2%)
CIE-LABlab(65.53, -60.64, 55.76)
CIE-LCHlch(65.53, 82.38, 137.40°)
OKLaboklab(68.29% -0.1648 0.1258)
OKLCHoklch(68.29% 0.207 142.6)
XYZxyz(18.6921, 34.7151, 8.2998)
Luminance0.3472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B72E #B42EB7
analogous
#76B72E #31B72E #2EB76F
triadic
#31B72E #2E31B7 #B72E31
tetradic
#31B72E #2E76B7 #B42EB7 #B76F2E
square
#31B72E #2E76B7 #B42EB7 #B76F2E
split-complementary
#31B72E #6F2EB7 #B72E76
monochromatic
#175515 #248622 #31B72E #52D34F #82DF80

Accessibility & contrast

On white

2.64
#31B72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B72E#FFFFFF#000000##000000
##31B72E1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA512
Deuteranopia (green-blind)
#AC9B3D
Tritanopia (blue-blind)
#00B19D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b72e;
/* rgb */ color: rgb(49, 183, 46);
/* oklch */ color: oklch(68.3% 0.207 142.6);
Tailwind
colors: {
  custom: {
    50: '#7ece70',
    500: '#31b72e',
    950: '#000000',
  },
}
SCSS
$custom: #31b72e;
$custom-light: #7ece70;
$custom-dark: #000000;
JSON
{
  "hex": "#31b72e",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 118.686,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68292,
    "c": 0.20728,
    "h": 142.6
  },
  "luminance": 0.34717
}

Semantic roles & 50–950 ramp

primary
#31B72E
secondary
#C679C8
accent
#45E3E0
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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