#31C257#31C257

#31C257 is a light, vivid green. Relative luminance 0.399; OKLCH L 71.6% C 0.191 H 147.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#31C257
RGBrgb(49, 194, 87)
HSLhsl(136, 60%, 48%)
HSVhsv(136, 75%, 76%)
CMYKcmyk(74.7%, 0%, 55.2%, 23.9%)
CIE-LABlab(69.41, -59.89, 42.73)
CIE-LCHlch(69.41, 73.57, 144.49°)
OKLaboklab(71.63% -0.1611 0.1022)
OKLCHoklch(71.63% 0.191 147.6)
XYZxyz(22.2770, 39.9221, 15.5467)
Luminance0.3992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C257 #C2319C
analogous
#54C231 #31C257 #31C29F
triadic
#31C257 #5731C2 #C25731
tetradic
#31C257 #3154C2 #C2319C #C29F31
square
#31C257 #3154C2 #C2319C #C29F31
split-complementary
#31C257 #9F31C2 #C23154
monochromatic
#18602B #259141 #31C257 #5BD67B #8CE2A2

Accessibility & contrast

On white

2.34
#31C257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#31C257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C257
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C257#FFFFFF#000000##000000
##31C2571.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B14D
Deuteranopia (green-blind)
#B4A55F
Tritanopia (blue-blind)
#00BEAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c257;
/* rgb */ color: rgb(49, 194, 87);
/* oklch */ color: oklch(71.6% 0.191 147.6);
Tailwind
colors: {
  custom: {
    50: '#7fd689',
    500: '#31c257',
    950: '#000000',
  },
}
SCSS
$custom: #31c257;
$custom-light: #7fd689;
$custom-dark: #000000;
JSON
{
  "hex": "#31c257",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 87
  },
  "hsl": {
    "h": 135.724,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71634,
    "c": 0.19078,
    "h": 147.6
  },
  "luminance": 0.39925
}

Semantic roles & 50–950 ramp

primary
#31C257
secondary
#CC83B9
accent
#45B9E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #31C257

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

Preview Lab → · Contrast checker → · Palette generator →

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