#31C42D#31C42D

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

Color values

HEX#31C42D
RGBrgb(49, 196, 45)
HSLhsl(118, 63%, 47%)
HSVhsv(118, 77%, 77%)
CMYKcmyk(75%, 0%, 77%, 23.1%)
CIE-LABlab(69.70, -64.83, 60.21)
CIE-LCHlch(69.70, 88.47, 137.12°)
OKLaboklab(71.76% -0.1762 0.1349)
OKLCHoklch(71.76% 0.222 142.6)
XYZxyz(21.4789, 40.3198, 9.1326)
Luminance0.4032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C42D #C02DC4
analogous
#7CC42D #31C42D #2DC475
triadic
#31C42D #2D31C4 #C42D31
tetradic
#31C42D #2D7CC4 #C02DC4 #C4752D
square
#31C42D #2D7CC4 #C02DC4 #C4752D
split-complementary
#31C42D #752DC4 #C42D7C
monochromatic
#186016 #259222 #31C42D #59D856 #8AE488

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #31c42d;
/* rgb */ color: rgb(49, 196, 45);
/* oklch */ color: oklch(71.8% 0.222 142.6);
Tailwind
colors: {
  custom: {
    50: '#81d771',
    500: '#31c42d',
    950: '#000000',
  },
}
SCSS
$custom: #31c42d;
$custom-light: #81d771;
$custom-dark: #000000;
JSON
{
  "hex": "#31c42d",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 45
  },
  "hsl": {
    "h": 118.411,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71755,
    "c": 0.22188,
    "h": 142.6
  },
  "luminance": 0.40322
}

Semantic roles & 50–950 ramp

primary
#31C42D
secondary
#CB80CD
accent
#42E6E1
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #31C42D

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

Preview Lab → · Contrast checker → · Palette generator →

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