#31C04A#31C04A

#31C04A is a light, vivid green. Relative luminance 0.388; OKLCH L 70.9% C 0.199 H 145.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#31C04A
RGBrgb(49, 192, 74)
HSLhsl(130, 59%, 47%)
HSVhsv(130, 74%, 75%)
CMYKcmyk(74.5%, 0%, 61.5%, 24.7%)
CIE-LABlab(68.64, -60.87, 47.83)
CIE-LCHlch(68.64, 77.42, 141.84°)
OKLaboklab(70.95% -0.1642 0.1122)
OKLCHoklch(70.95% 0.199 145.6)
XYZxyz(21.3508, 38.8442, 12.8497)
Luminance0.3885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C04A #C031A7
analogous
#5FC031 #31C04A #31C092
triadic
#31C04A #4A31C0 #C04A31
tetradic
#31C04A #315FC0 #C031A7 #C09231
square
#31C04A #315FC0 #C031A7 #C09231
split-complementary
#31C04A #9231C0 #C0315F
monochromatic
#185E24 #258F37 #31C04A #59D56F #8AE199

Accessibility & contrast

On white

2.39
#31C04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#31C04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C04A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C04A#FFFFFF#000000##000000
##31C04A1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3D
Deuteranopia (green-blind)
#B3A354
Tritanopia (blue-blind)
#00BBA7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31c04a;
/* rgb */ color: rgb(49, 192, 74);
/* oklch */ color: oklch(70.9% 0.199 145.6);
Tailwind
colors: {
  custom: {
    50: '#7fd481',
    500: '#31c04a',
    950: '#000000',
  },
}
SCSS
$custom: #31c04a;
$custom-light: #7fd481;
$custom-dark: #000000;
JSON
{
  "hex": "#31c04a",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 130.49,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70946,
    "c": 0.19885,
    "h": 145.6
  },
  "luminance": 0.38847
}

Semantic roles & 50–950 ramp

primary
#31C04A
secondary
#CB82BE
accent
#45C7E3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #31C04A

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

Preview Lab → · Contrast checker → · Palette generator →

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