#31C259#31C259

#31C259 is a light, vivid green. Relative luminance 0.400; OKLCH L 71.7% C 0.189 H 148.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#31C259
RGBrgb(49, 194, 89)
HSLhsl(137, 60%, 48%)
HSVhsv(137, 75%, 76%)
CMYKcmyk(74.7%, 0%, 54.1%, 23.9%)
CIE-LABlab(69.44, -59.61, 41.80)
CIE-LCHlch(69.44, 72.80, 144.96°)
OKLaboklab(71.66% -0.1603 0.1002)
OKLCHoklch(71.66% 0.189 148)
XYZxyz(22.3598, 39.9552, 15.9830)
Luminance0.3996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C259 #C2319A
analogous
#51C231 #31C259 #31C2A2
triadic
#31C259 #5931C2 #C25931
tetradic
#31C259 #3151C2 #C2319A #C2A231
square
#31C259 #3151C2 #C2319A #C2A231
split-complementary
#31C259 #A231C2 #C23151
monochromatic
#18602C #259143 #31C259 #5BD67D #8CE2A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C259#FFFFFF#000000##000000
##31C2591.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)
#C4B14F
Deuteranopia (green-blind)
#B3A561
Tritanopia (blue-blind)
#00BEAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c259;
/* rgb */ color: rgb(49, 194, 89);
/* oklch */ color: oklch(71.7% 0.189 148.0);
Tailwind
colors: {
  custom: {
    50: '#7fd68a',
    500: '#31c259',
    950: '#000000',
  },
}
SCSS
$custom: #31c259;
$custom-light: #7fd68a;
$custom-dark: #000000;
JSON
{
  "hex": "#31c259",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 89
  },
  "hsl": {
    "h": 136.552,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71661,
    "c": 0.18909,
    "h": 148
  },
  "luminance": 0.39958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31C259

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

Preview Lab → · Contrast checker → · Palette generator →

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