#31C55E#31C55E

#31C55E is a light, vivid green. Relative luminance 0.414; OKLCH L 72.5% C 0.189 H 148.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#31C55E
RGBrgb(49, 197, 94)
HSLhsl(138, 60%, 48%)
HSVhsv(138, 75%, 77%)
CMYKcmyk(75.1%, 0%, 52.3%, 22.7%)
CIE-LABlab(70.45, -59.92, 40.62)
CIE-LCHlch(70.45, 72.39, 145.87°)
OKLaboklab(72.52% -0.1611 0.0979)
OKLCHoklch(72.52% 0.189 148.7)
XYZxyz(23.2514, 41.3909, 17.3513)
Luminance0.4139 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C55E #C53198
analogous
#4EC531 #31C55E #31C5A8
triadic
#31C55E #5E31C5 #C55E31
tetradic
#31C55E #314EC5 #C53198 #C5A831
square
#31C55E #314EC5 #C53198 #C5A831
split-complementary
#31C55E #A831C5 #C5314E
monochromatic
#19632F #259447 #31C55E #5DD782 #8EE3A8

Accessibility & contrast

On white

2.26
#31C55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#31C55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C55E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C55E#FFFFFF#000000##000000
##31C55E1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B455
Deuteranopia (green-blind)
#B6A866
Tritanopia (blue-blind)
#00C1AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #31c55e;
/* rgb */ color: rgb(49, 197, 94);
/* oklch */ color: oklch(72.5% 0.189 148.7);
Tailwind
colors: {
  custom: {
    50: '#7fd88e',
    500: '#31c55e',
    950: '#000000',
  },
}
SCSS
$custom: #31c55e;
$custom-light: #7fd88e;
$custom-dark: #000000;
JSON
{
  "hex": "#31c55e",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 94
  },
  "hsl": {
    "h": 138.243,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72519,
    "c": 0.1885,
    "h": 148.7
  },
  "luminance": 0.41394
}

Semantic roles & 50–950 ramp

primary
#31C55E
secondary
#CD85B7
accent
#44B3E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #31C55E

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

Preview Lab → · Contrast checker → · Palette generator →

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