#31B74D#31B74D

#31B74D is a light, vivid green. Relative luminance 0.351; OKLCH L 68.6% C 0.186 H 146.5°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#31B74D
RGBrgb(49, 183, 77)
HSLhsl(133, 58%, 45%)
HSVhsv(133, 73%, 72%)
CMYKcmyk(73.2%, 0%, 57.9%, 28.2%)
CIE-LABlab(65.79, -57.46, 43.16)
CIE-LCHlch(65.79, 71.86, 143.09°)
OKLaboklab(68.6% -0.1548 0.1024)
OKLCHoklch(68.6% 0.186 146.5)
XYZxyz(19.5382, 35.0535, 12.7560)
Luminance0.3506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B74D #B7319B
analogous
#58B731 #31B74D #31B790
triadic
#31B74D #4D31B7 #B74D31
tetradic
#31B74D #3158B7 #B7319B #B79031
square
#31B74D #3158B7 #B7319B #B79031
split-complementary
#31B74D #9031B7 #B73158
monochromatic
#175624 #248739 #31B74D #54D16E #84DE97

Accessibility & contrast

On white

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

On black

8.01
#31B74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B74D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B74D#FFFFFF#000000##000000
##31B74D1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b74d;
/* rgb */ color: rgb(49, 183, 77);
/* oklch */ color: oklch(68.6% 0.186 146.5);
Tailwind
colors: {
  custom: {
    50: '#7dce82',
    500: '#31b74d',
    950: '#000000',
  },
}
SCSS
$custom: #31b74d;
$custom-light: #7dce82;
$custom-dark: #000000;
JSON
{
  "hex": "#31b74d",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 77
  },
  "hsl": {
    "h": 132.537,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68596,
    "c": 0.1856,
    "h": 146.5
  },
  "luminance": 0.35056
}

Semantic roles & 50–950 ramp

primary
#31B74D
secondary
#C87CB8
accent
#47C1E1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B74D

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

Preview Lab → · Contrast checker → · Palette generator →

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