#31D458#31D458

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

Color values

HEX#31D458
RGBrgb(49, 212, 88)
HSLhsl(134, 65%, 51%)
HSVhsv(134, 77%, 83%)
CMYKcmyk(76.9%, 0%, 58.5%, 16.9%)
CIE-LABlab(75.10, -65.76, 49.00)
CIE-LCHlch(75.10, 82.00, 143.31°)
OKLaboklab(76.35% -0.1769 0.1159)
OKLCHoklch(76.35% 0.212 146.8)
XYZxyz(26.5695, 48.4413, 17.1804)
Luminance0.4844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31D458 #D431AD
analogous
#5BD431 #31D458 #31D4A9
triadic
#31D458 #5831D4 #D45831
tetradic
#31D458 #315BD4 #D431AD #D4A931
square
#31D458 #315BD4 #D431AD #D4A931
split-complementary
#31D458 #A931D4 #D4315B
monochromatic
#18732E #23A542 #31D458 #64DF81 #96E9AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31D458#FFFFFF#000000##000000
##31D4581.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31d458;
/* rgb */ color: rgb(49, 212, 88);
/* oklch */ color: oklch(76.4% 0.212 146.8);
Tailwind
colors: {
  custom: {
    50: '#83e38b',
    500: '#31d458',
    950: '#000000',
  },
}
SCSS
$custom: #31d458;
$custom-light: #83e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#31d458",
  "rgb": {
    "r": 49,
    "g": 212,
    "b": 88
  },
  "hsl": {
    "h": 134.356,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76353,
    "c": 0.21153,
    "h": 146.8
  },
  "luminance": 0.48445
}

Semantic roles & 50–950 ramp

primary
#31D458
secondary
#D48CC3
accent
#3FC0E8
background
#F8FEF8
surface
#F0FCF0
border
#CBD5CB
text
#0D160C
muted
#7D847D

Preview Lab

Preview with #31D458

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

Preview Lab → · Contrast checker → · Palette generator →

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