#31C477#31C477

#31C477 is a light, vivid green. Relative luminance 0.415; OKLCH L 72.7% C 0.165 H 154.9°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#31C477
RGBrgb(49, 196, 119)
HSLhsl(149, 60%, 48%)
HSVhsv(149, 75%, 77%)
CMYKcmyk(75%, 0%, 39.3%, 23.1%)
CIE-LABlab(70.50, -55.35, 28.04)
CIE-LCHlch(70.50, 62.05, 153.13°)
OKLaboklab(72.68% -0.1493 0.0699)
OKLCHoklch(72.68% 0.165 154.9)
XYZxyz(24.3340, 41.4619, 24.1696)
Luminance0.4147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C477 #C4317E
analogous
#35C431 #31C477 #31C4C0
triadic
#31C477 #7731C4 #C47731
tetradic
#31C477 #3135C4 #C4317E #C4C031
square
#31C477 #3135C4 #C4317E #C4C031
split-complementary
#31C477 #C031C4 #C43135
monochromatic
#19623C #259359 #31C477 #5CD696 #8DE2B6

Accessibility & contrast

On white

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

On black

9.29
#31C477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C477
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C477#FFFFFF#000000##000000
##31C4771.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B472
Deuteranopia (green-blind)
#B2A77C
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #31c477;
/* rgb */ color: rgb(49, 196, 119);
/* oklch */ color: oklch(72.7% 0.165 154.9);
Tailwind
colors: {
  custom: {
    50: '#7fd79f',
    500: '#31c477',
    950: '#000000',
  },
}
SCSS
$custom: #31c477;
$custom-light: #7fd79f;
$custom-dark: #000000;
JSON
{
  "hex": "#31c477",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 119
  },
  "hsl": {
    "h": 148.571,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72679,
    "c": 0.16482,
    "h": 154.9
  },
  "luminance": 0.41465
}

Semantic roles & 50–950 ramp

primary
#31C477
secondary
#CD84AA
accent
#4598E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #31C477

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

Preview Lab → · Contrast checker → · Palette generator →

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