#31D456#31D456

#31D456 is a light, highly saturated green. Relative luminance 0.484; OKLCH L 76.3% C 0.213 H 146.5°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#31D456
RGBrgb(49, 212, 86)
HSLhsl(134, 65%, 51%)
HSVhsv(134, 77%, 83%)
CMYKcmyk(76.9%, 0%, 59.4%, 16.9%)
CIE-LABlab(75.08, -66.00, 49.87)
CIE-LCHlch(75.08, 82.73, 142.92°)
OKLaboklab(76.33% -0.1777 0.1176)
OKLCHoklch(76.33% 0.213 146.5)
XYZxyz(26.4878, 48.4087, 16.7501)
Luminance0.4841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31D456 #D431AF
analogous
#5DD431 #31D456 #31D4A8
triadic
#31D456 #5631D4 #D45631
tetradic
#31D456 #315DD4 #D431AF #D4A831
square
#31D456 #315DD4 #D431AF #D4A831
split-complementary
#31D456 #A831D4 #D4315D
monochromatic
#18732D #23A540 #31D456 #64DF80 #96E9A9

Accessibility & contrast

On white

1.97
#31D456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#31D456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31D456
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31D456#FFFFFF#000000##000000
##31D4561.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31d456;
/* rgb */ color: rgb(49, 212, 86);
/* oklch */ color: oklch(76.3% 0.213 146.5);
Tailwind
colors: {
  custom: {
    50: '#83e389',
    500: '#31d456',
    950: '#000000',
  },
}
SCSS
$custom: #31d456;
$custom-light: #83e389;
$custom-dark: #000000;
JSON
{
  "hex": "#31d456",
  "rgb": {
    "r": 49,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 133.62,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7633,
    "c": 0.21308,
    "h": 146.5
  },
  "luminance": 0.48412
}

Semantic roles & 50–950 ramp

primary
#31D456
secondary
#D48CC4
accent
#3FC2E8
background
#F8FEF8
surface
#F0FCF0
border
#CBD5CB
text
#0D160C
muted
#7D847D

Preview Lab

Preview with #31D456

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

Preview Lab → · Contrast checker → · Palette generator →

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