#31D457#31D457

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

Color values

HEX#31D457
RGBrgb(49, 212, 87)
HSLhsl(134, 65%, 51%)
HSVhsv(134, 77%, 83%)
CMYKcmyk(76.9%, 0%, 59%, 16.9%)
CIE-LABlab(75.09, -65.88, 49.44)
CIE-LCHlch(75.09, 82.37, 143.11°)
OKLaboklab(76.34% -0.1773 0.1168)
OKLCHoklch(76.34% 0.212 146.6)
XYZxyz(26.5284, 48.4249, 16.9638)
Luminance0.4843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31D457 #D431AE
analogous
#5CD431 #31D457 #31D4A8
triadic
#31D457 #5731D4 #D45731
tetradic
#31D457 #315CD4 #D431AE #D4A831
square
#31D457 #315CD4 #D431AE #D4A831
split-complementary
#31D457 #A831D4 #D4315C
monochromatic
#18732D #23A541 #31D457 #64DF80 #96E9AA

Accessibility & contrast

On white

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

On black

10.69
#31D457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31D457
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31D457#FFFFFF#000000##000000
##31D4571.001.9710.6910.69
#FFFFFF1.971.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31d457;
/* rgb */ color: rgb(49, 212, 87);
/* oklch */ color: oklch(76.3% 0.212 146.6);
Tailwind
colors: {
  custom: {
    50: '#83e38a',
    500: '#31d457',
    950: '#000000',
  },
}
SCSS
$custom: #31d457;
$custom-light: #83e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#31d457",
  "rgb": {
    "r": 49,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 133.988,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76341,
    "c": 0.21231,
    "h": 146.6
  },
  "luminance": 0.48428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31D457

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

Preview Lab → · Contrast checker → · Palette generator →

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