#31C476#31C476

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

Color values

HEX#31C476
RGBrgb(49, 196, 118)
HSLhsl(148, 60%, 48%)
HSVhsv(148, 75%, 77%)
CMYKcmyk(75%, 0%, 39.8%, 23.1%)
CIE-LABlab(70.48, -55.54, 28.54)
CIE-LCHlch(70.48, 62.44, 152.80°)
OKLaboklab(72.66% -0.1497 0.0711)
OKLCHoklch(72.66% 0.166 154.6)
XYZxyz(24.2743, 41.4380, 23.8550)
Luminance0.4144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C476 #C4317F
analogous
#36C431 #31C476 #31C4BF
triadic
#31C476 #7631C4 #C47631
tetradic
#31C476 #3136C4 #C4317F #C4BF31
square
#31C476 #3136C4 #C4317F #C4BF31
split-complementary
#31C476 #BF31C4 #C43136
monochromatic
#19623B #259359 #31C476 #5CD695 #8DE2B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C476#FFFFFF#000000##000000
##31C4761.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)
#C3B471
Deuteranopia (green-blind)
#B2A77B
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #31c476;
/* rgb */ color: rgb(49, 196, 118);
/* oklch */ color: oklch(72.7% 0.166 154.6);
Tailwind
colors: {
  custom: {
    50: '#7fd79e',
    500: '#31c476',
    950: '#000000',
  },
}
SCSS
$custom: #31c476;
$custom-light: #7fd79e;
$custom-dark: #000000;
JSON
{
  "hex": "#31c476",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 118
  },
  "hsl": {
    "h": 148.163,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72659,
    "c": 0.16573,
    "h": 154.6
  },
  "luminance": 0.41441
}

Semantic roles & 50–950 ramp

primary
#31C476
secondary
#CD84AB
accent
#4599E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #31C476

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

Preview Lab → · Contrast checker → · Palette generator →

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