#31C457#31C457

#31C457 is a light, vivid green. Relative luminance 0.408; OKLCH L 72.2% C 0.193 H 147.5°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#31C457
RGBrgb(49, 196, 87)
HSLhsl(136, 60%, 48%)
HSVhsv(136, 75%, 77%)
CMYKcmyk(75%, 0%, 55.6%, 23.1%)
CIE-LABlab(70.05, -60.57, 43.49)
CIE-LCHlch(70.05, 74.56, 144.32°)
OKLaboklab(72.16% -0.163 0.1038)
OKLCHoklch(72.16% 0.193 147.5)
XYZxyz(22.7251, 40.8183, 15.6960)
Luminance0.4082 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C457 #C4319E
analogous
#55C431 #31C457 #31C4A0
triadic
#31C457 #5731C4 #C45731
tetradic
#31C457 #3155C4 #C4319E #C4A031
square
#31C457 #3155C4 #C4319E #C4A031
split-complementary
#31C457 #A031C4 #C43155
monochromatic
#19622C #259341 #31C457 #5CD67C #8DE2A3

Accessibility & contrast

On white

2.29
#31C457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#31C457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C457
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C457#FFFFFF#000000##000000
##31C4571.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24D
Deuteranopia (green-blind)
#B5A75F
Tritanopia (blue-blind)
#00C0AC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #31c457;
/* rgb */ color: rgb(49, 196, 87);
/* oklch */ color: oklch(72.2% 0.193 147.5);
Tailwind
colors: {
  custom: {
    50: '#7fd789',
    500: '#31c457',
    950: '#000000',
  },
}
SCSS
$custom: #31c457;
$custom-light: #7fd789;
$custom-dark: #000000;
JSON
{
  "hex": "#31c457",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 135.51,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7216,
    "c": 0.19323,
    "h": 147.5
  },
  "luminance": 0.40821
}

Semantic roles & 50–950 ramp

primary
#31C457
secondary
#CD84BA
accent
#45BAE3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #31C457

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

Preview Lab → · Contrast checker → · Palette generator →

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