#31B752#31B752

#31B752 is a light, vivid green. Relative luminance 0.351; OKLCH L 68.7% C 0.181 H 147.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#31B752
RGBrgb(49, 183, 82)
HSLhsl(135, 58%, 45%)
HSVhsv(135, 73%, 72%)
CMYKcmyk(73.2%, 0%, 55.2%, 28.2%)
CIE-LABlab(65.85, -56.78, 40.84)
CIE-LCHlch(65.85, 69.95, 144.27°)
OKLaboklab(68.66% -0.1529 0.0977)
OKLCHoklch(68.66% 0.181 147.4)
XYZxyz(19.7216, 35.1269, 13.7218)
Luminance0.3513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B752 #B73196
analogous
#53B731 #31B752 #31B795
triadic
#31B752 #5231B7 #B75231
tetradic
#31B752 #3153B7 #B73196 #B79531
square
#31B752 #3153B7 #B73196 #B79531
split-complementary
#31B752 #9531B7 #B73153
monochromatic
#175627 #24873C #31B752 #54D173 #84DE9A

Accessibility & contrast

On white

2.62
#31B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#31B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B752
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B752#FFFFFF#000000##000000
##31B7521.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A749
Deuteranopia (green-blind)
#AA9C5A
Tritanopia (blue-blind)
#00B3A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b752;
/* rgb */ color: rgb(49, 183, 82);
/* oklch */ color: oklch(68.7% 0.181 147.4);
Tailwind
colors: {
  custom: {
    50: '#7dce85',
    500: '#31b752',
    950: '#000000',
  },
}
SCSS
$custom: #31b752;
$custom-light: #7dce85;
$custom-dark: #000000;
JSON
{
  "hex": "#31b752",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 134.776,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68661,
    "c": 0.18141,
    "h": 147.4
  },
  "luminance": 0.35129
}

Semantic roles & 50–950 ramp

primary
#31B752
secondary
#C87CB5
accent
#47BBE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B752

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

Preview Lab → · Contrast checker → · Palette generator →

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