#31C857#31C857

#31C857 is a light, vivid green. Relative luminance 0.426; OKLCH L 73.2% C 0.198 H 147.3°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#31C857
RGBrgb(49, 200, 87)
HSLhsl(135, 61%, 49%)
HSVhsv(135, 76%, 78%)
CMYKcmyk(75.5%, 0%, 56.5%, 21.6%)
CIE-LABlab(71.31, -61.92, 45.00)
CIE-LCHlch(71.31, 76.54, 143.99°)
OKLaboklab(73.21% -0.1666 0.1071)
OKLCHoklch(73.21% 0.198 147.3)
XYZxyz(23.6394, 42.6469, 16.0008)
Luminance0.4265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C857 #C831A2
analogous
#57C831 #31C857 #31C8A3
triadic
#31C857 #5731C8 #C85731
tetradic
#31C857 #3157C8 #C831A2 #C8A331
square
#31C857 #3157C8 #C831A2 #C8A331
split-complementary
#31C857 #A331C8 #C83157
monochromatic
#19662C #259742 #31C857 #5FD87D #90E4A5

Accessibility & contrast

On white

2.20
#31C857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#31C857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C857
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C857#FFFFFF#000000##000000
##31C8571.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64C
Deuteranopia (green-blind)
#B9AA60
Tritanopia (blue-blind)
#00C4AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #31c857;
/* rgb */ color: rgb(49, 200, 87);
/* oklch */ color: oklch(73.2% 0.198 147.3);
Tailwind
colors: {
  custom: {
    50: '#80da89',
    500: '#31c857',
    950: '#000000',
  },
}
SCSS
$custom: #31c857;
$custom-light: #80da89;
$custom-dark: #000000;
JSON
{
  "hex": "#31c857",
  "rgb": {
    "r": 49,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 135.099,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73209,
    "c": 0.19807,
    "h": 147.3
  },
  "luminance": 0.4265
}

Semantic roles & 50–950 ramp

primary
#31C857
secondary
#CE86BC
accent
#44BCE4
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #31C857

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

Preview Lab → · Contrast checker → · Palette generator →

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