#31C047#31C047

#31C047 is a light, highly saturated green. Relative luminance 0.388; OKLCH L 70.9% C 0.201 H 145.2°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#31C047
RGBrgb(49, 192, 71)
HSLhsl(129, 59%, 47%)
HSVhsv(129, 74%, 75%)
CMYKcmyk(74.5%, 0%, 63%, 24.7%)
CIE-LABlab(68.61, -61.22, 49.12)
CIE-LCHlch(68.61, 78.49, 141.26°)
OKLaboklab(70.91% -0.1652 0.1147)
OKLCHoklch(70.91% 0.201 145.2)
XYZxyz(21.2521, 38.8047, 12.3300)
Luminance0.3881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C047 #C031AA
analogous
#62C031 #31C047 #31C08F
triadic
#31C047 #4731C0 #C04731
tetradic
#31C047 #3162C0 #C031AA #C08F31
square
#31C047 #3162C0 #C031AA #C08F31
split-complementary
#31C047 #8F31C0 #C03162
monochromatic
#185E23 #258F35 #31C047 #59D56C #8AE198

Accessibility & contrast

On white

2.40
#31C047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#31C047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C047
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C047#FFFFFF#000000##000000
##31C0471.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE39
Deuteranopia (green-blind)
#B3A351
Tritanopia (blue-blind)
#00BBA6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31c047;
/* rgb */ color: rgb(49, 192, 71);
/* oklch */ color: oklch(70.9% 0.201 145.2);
Tailwind
colors: {
  custom: {
    50: '#7fd47f',
    500: '#31c047',
    950: '#000000',
  },
}
SCSS
$custom: #31c047;
$custom-light: #7fd47f;
$custom-dark: #000000;
JSON
{
  "hex": "#31c047",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 71
  },
  "hsl": {
    "h": 129.231,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70913,
    "c": 0.20113,
    "h": 145.2
  },
  "luminance": 0.38807
}

Semantic roles & 50–950 ramp

primary
#31C047
secondary
#CB82C0
accent
#45CAE3
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #31C047

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

Preview Lab → · Contrast checker → · Palette generator →

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