#31C258#31C258

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

Color values

HEX#31C258
RGBrgb(49, 194, 88)
HSLhsl(136, 60%, 48%)
HSVhsv(136, 75%, 76%)
CMYKcmyk(74.7%, 0%, 54.6%, 23.9%)
CIE-LABlab(69.43, -59.75, 42.27)
CIE-LCHlch(69.43, 73.19, 144.72°)
OKLaboklab(71.65% -0.1607 0.1012)
OKLCHoklch(71.65% 0.19 147.8)
XYZxyz(22.3181, 39.9385, 15.7633)
Luminance0.3994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C258 #C2319B
analogous
#52C231 #31C258 #31C2A1
triadic
#31C258 #5831C2 #C25831
tetradic
#31C258 #3152C2 #C2319B #C2A131
square
#31C258 #3152C2 #C2319B #C2A131
split-complementary
#31C258 #A131C2 #C23152
monochromatic
#18602C #259142 #31C258 #5BD67C #8CE2A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C258#FFFFFF#000000##000000
##31C2581.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)
#C4B14E
Deuteranopia (green-blind)
#B3A560
Tritanopia (blue-blind)
#00BEAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c258;
/* rgb */ color: rgb(49, 194, 88);
/* oklch */ color: oklch(71.6% 0.190 147.8);
Tailwind
colors: {
  custom: {
    50: '#7fd68a',
    500: '#31c258',
    950: '#000000',
  },
}
SCSS
$custom: #31c258;
$custom-light: #7fd68a;
$custom-dark: #000000;
JSON
{
  "hex": "#31c258",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 136.138,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71648,
    "c": 0.18994,
    "h": 147.8
  },
  "luminance": 0.39941
}

Semantic roles & 50–950 ramp

primary
#31C258
secondary
#CC83B8
accent
#45B8E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #31C258

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

Preview Lab → · Contrast checker → · Palette generator →

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