#31C42A#31C42A

#31C42A is a light, highly saturated green. Relative luminance 0.403; OKLCH L 71.7% C 0.223 H 142.3°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#31C42A
RGBrgb(49, 196, 42)
HSLhsl(117, 65%, 47%)
HSVhsv(117, 79%, 77%)
CMYKcmyk(75%, 0%, 78.6%, 23.1%)
CIE-LABlab(69.68, -65.03, 61.13)
CIE-LCHlch(69.68, 89.25, 136.77°)
OKLaboklab(71.74% -0.1768 0.1364)
OKLCHoklch(71.74% 0.223 142.3)
XYZxyz(21.4232, 40.2975, 8.8392)
Luminance0.4030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C42A #BD2AC4
analogous
#7EC42A #31C42A #2AC470
triadic
#31C42A #2A31C4 #C42A31
tetradic
#31C42A #2A7EC4 #BD2AC4 #C4702A
square
#31C42A #2A7EC4 #BD2AC4 #C4702A
split-complementary
#31C42A #702AC4 #C42A7E
monochromatic
#185F14 #24921F #31C42A #58DA51 #88E584

Accessibility & contrast

On white

2.32
#31C42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#31C42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C42A
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C42A#FFFFFF#000000##000000
##31C42A1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#B8A63C
Tritanopia (blue-blind)
#00BEA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c42a;
/* rgb */ color: rgb(49, 196, 42);
/* oklch */ color: oklch(71.7% 0.223 142.3);
Tailwind
colors: {
  custom: {
    50: '#81d770',
    500: '#31c42a',
    950: '#000000',
  },
}
SCSS
$custom: #31c42a;
$custom-light: #81d770;
$custom-dark: #000000;
JSON
{
  "hex": "#31c42a",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 42
  },
  "hsl": {
    "h": 117.273,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71737,
    "c": 0.22333,
    "h": 142.3
  },
  "luminance": 0.403
}

Semantic roles & 50–950 ramp

primary
#31C42A
secondary
#CA7CCE
accent
#40E8E0
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #31C42A

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

Preview Lab → · Contrast checker → · Palette generator →

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