#31C355#31C355

#31C355 is a light, vivid green. Relative luminance 0.403; OKLCH L 71.9% C 0.194 H 147.2°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#31C355
RGBrgb(49, 195, 85)
HSLhsl(135, 60%, 48%)
HSVhsv(135, 75%, 76%)
CMYKcmyk(74.9%, 0%, 56.4%, 23.5%)
CIE-LABlab(69.71, -60.50, 44.03)
CIE-LCHlch(69.71, 74.82, 143.95°)
OKLaboklab(71.87% -0.1628 0.1049)
OKLCHoklch(71.87% 0.194 147.2)
XYZxyz(22.4197, 40.3364, 15.1967)
Luminance0.4034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C355 #C3319F
analogous
#56C331 #31C355 #31C39E
triadic
#31C355 #5531C3 #C35531
tetradic
#31C355 #3156C3 #C3319F #C39E31
square
#31C355 #3156C3 #C3319F #C39E31
split-complementary
#31C355 #9E31C3 #C33156
monochromatic
#18612A #259240 #31C355 #5BD67A #8CE2A1

Accessibility & contrast

On white

2.32
#31C355 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#31C355 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C355
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C355#FFFFFF#000000##000000
##31C3551.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14A
Deuteranopia (green-blind)
#B5A65E
Tritanopia (blue-blind)
#00BFAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c355;
/* rgb */ color: rgb(49, 195, 85);
/* oklch */ color: oklch(71.9% 0.194 147.2);
Tailwind
colors: {
  custom: {
    50: '#7fd688',
    500: '#31c355',
    950: '#000000',
  },
}
SCSS
$custom: #31c355;
$custom-light: #7fd688;
$custom-dark: #000000;
JSON
{
  "hex": "#31c355",
  "rgb": {
    "r": 49,
    "g": 195,
    "b": 85
  },
  "hsl": {
    "h": 134.795,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71871,
    "c": 0.19367,
    "h": 147.2
  },
  "luminance": 0.40339
}

Semantic roles & 50–950 ramp

primary
#31C355
secondary
#CC83BA
accent
#45BCE3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #31C355

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

Preview Lab → · Contrast checker → · Palette generator →

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