#31C42C#31C42C

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

Color values

HEX#31C42C
RGBrgb(49, 196, 44)
HSLhsl(118, 63%, 47%)
HSVhsv(118, 78%, 77%)
CMYKcmyk(75%, 0%, 77.6%, 23.1%)
CIE-LABlab(69.69, -64.90, 60.52)
CIE-LCHlch(69.69, 88.74, 137.00°)
OKLaboklab(71.75% -0.1764 0.1354)
OKLCHoklch(71.75% 0.222 142.5)
XYZxyz(21.4599, 40.3122, 9.0324)
Luminance0.4032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C42C #BF2CC4
analogous
#7DC42C #31C42C #2CC473
triadic
#31C42C #2C31C4 #C42C31
tetradic
#31C42C #2C7DC4 #BF2CC4 #C4732C
square
#31C42C #2C7DC4 #BF2CC4 #C4732C
split-complementary
#31C42C #732CC4 #C42C7D
monochromatic
#186016 #259221 #31C42C #59D954 #8AE486

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C42C#FFFFFF#000000##000000
##31C42C1.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)
#C8B100
Deuteranopia (green-blind)
#B8A63E
Tritanopia (blue-blind)
#00BEA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c42c;
/* rgb */ color: rgb(49, 196, 44);
/* oklch */ color: oklch(71.7% 0.222 142.5);
Tailwind
colors: {
  custom: {
    50: '#81d771',
    500: '#31c42c',
    950: '#000000',
  },
}
SCSS
$custom: #31c42c;
$custom-light: #81d771;
$custom-dark: #000000;
JSON
{
  "hex": "#31c42c",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 44
  },
  "hsl": {
    "h": 118.026,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71749,
    "c": 0.22237,
    "h": 142.5
  },
  "luminance": 0.40315
}

Semantic roles & 50–950 ramp

primary
#31C42C
secondary
#CB7ECD
accent
#41E6E1
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #31C42C

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

Preview Lab → · Contrast checker → · Palette generator →

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