#31D45C#31D45C

#31D45C is a light, highly saturated green. Relative luminance 0.485; OKLCH L 76.4% C 0.208 H 147.4°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#31D45C
RGBrgb(49, 212, 92)
HSLhsl(136, 65%, 51%)
HSVhsv(136, 77%, 83%)
CMYKcmyk(76.9%, 0%, 56.6%, 16.9%)
CIE-LABlab(75.15, -65.24, 47.22)
CIE-LCHlch(75.15, 80.54, 144.10°)
OKLaboklab(76.4% -0.1755 0.1123)
OKLCHoklch(76.4% 0.208 147.4)
XYZxyz(26.7398, 48.5095, 18.0771)
Luminance0.4851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31D45C #D431A9
analogous
#57D431 #31D45C #31D4AD
triadic
#31D45C #5C31D4 #D45C31
tetradic
#31D45C #3157D4 #D431A9 #D4AD31
square
#31D45C #3157D4 #D431A9 #D4AD31
split-complementary
#31D45C #AD31D4 #D43157
monochromatic
#187330 #23A545 #31D45C #64DF84 #96E9AC

Accessibility & contrast

On white

1.96
#31D45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#31D45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31D45C
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31D45C#FFFFFF#000000##000000
##31D45C1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C150
Deuteranopia (green-blind)
#C4B466
Tritanopia (blue-blind)
#00CFB9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #31d45c;
/* rgb */ color: rgb(49, 212, 92);
/* oklch */ color: oklch(76.4% 0.208 147.4);
Tailwind
colors: {
  custom: {
    50: '#83e38d',
    500: '#31d45c',
    950: '#000000',
  },
}
SCSS
$custom: #31d45c;
$custom-light: #83e38d;
$custom-dark: #000000;
JSON
{
  "hex": "#31d45c",
  "rgb": {
    "r": 49,
    "g": 212,
    "b": 92
  },
  "hsl": {
    "h": 135.828,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76403,
    "c": 0.20834,
    "h": 147.4
  },
  "luminance": 0.48513
}

Semantic roles & 50–950 ramp

primary
#31D45C
secondary
#D48CC1
accent
#3FBCE8
background
#F8FEF8
surface
#F0FCF0
border
#CBD5CB
text
#0C160C
muted
#7D847D

Preview Lab

Preview with #31D45C

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

Preview Lab → · Contrast checker → · Palette generator →

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