#31B74E#31B74E

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

Color values

HEX#31B74E
RGBrgb(49, 183, 78)
HSLhsl(133, 58%, 45%)
HSVhsv(133, 73%, 72%)
CMYKcmyk(73.2%, 0%, 57.4%, 28.2%)
CIE-LABlab(65.80, -57.32, 42.70)
CIE-LCHlch(65.80, 71.48, 143.32°)
OKLaboklab(68.61% -0.1544 0.1015)
OKLCHoklch(68.61% 0.185 146.7)
XYZxyz(19.5738, 35.0678, 12.9434)
Luminance0.3507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B74E #B7319A
analogous
#57B731 #31B74E #31B791
triadic
#31B74E #4E31B7 #B74E31
tetradic
#31B74E #3157B7 #B7319A #B79131
square
#31B74E #3157B7 #B7319A #B79131
split-complementary
#31B74E #9131B7 #B73157
monochromatic
#175625 #248739 #31B74E #54D16F #84DE98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B74E#FFFFFF#000000##000000
##31B74E1.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)
#B9A644
Deuteranopia (green-blind)
#AA9C56
Tritanopia (blue-blind)
#00B3A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b74e;
/* rgb */ color: rgb(49, 183, 78);
/* oklch */ color: oklch(68.6% 0.185 146.7);
Tailwind
colors: {
  custom: {
    50: '#7dce82',
    500: '#31b74e',
    950: '#000000',
  },
}
SCSS
$custom: #31b74e;
$custom-light: #7dce82;
$custom-dark: #000000;
JSON
{
  "hex": "#31b74e",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 132.985,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68609,
    "c": 0.18478,
    "h": 146.7
  },
  "luminance": 0.3507
}

Semantic roles & 50–950 ramp

primary
#31B74E
secondary
#C87CB7
accent
#47C0E1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B74E

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

Preview Lab → · Contrast checker → · Palette generator →

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