#31C478#31C478

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

Color values

HEX#31C478
RGBrgb(49, 196, 120)
HSLhsl(149, 60%, 48%)
HSVhsv(149, 75%, 77%)
CMYKcmyk(75%, 0%, 38.8%, 23.1%)
CIE-LABlab(70.52, -55.16, 27.54)
CIE-LCHlch(70.52, 61.65, 153.47°)
OKLaboklab(72.7% -0.1488 0.0687)
OKLCHoklch(72.7% 0.164 155.2)
XYZxyz(24.3944, 41.4860, 24.4876)
Luminance0.4149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C478 #C4317D
analogous
#33C431 #31C478 #31C4C2
triadic
#31C478 #7831C4 #C47831
tetradic
#31C478 #3133C4 #C4317D #C4C231
square
#31C478 #3133C4 #C4317D #C4C231
split-complementary
#31C478 #C231C4 #C43133
monochromatic
#19623C #25935A #31C478 #5CD697 #8DE2B6

Accessibility & contrast

On white

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

On black

9.30
#31C478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C478
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C478#FFFFFF#000000##000000
##31C4781.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c478;
/* rgb */ color: rgb(49, 196, 120);
/* oklch */ color: oklch(72.7% 0.164 155.2);
Tailwind
colors: {
  custom: {
    50: '#7fd79f',
    500: '#31c478',
    950: '#000000',
  },
}
SCSS
$custom: #31c478;
$custom-light: #7fd79f;
$custom-dark: #000000;
JSON
{
  "hex": "#31c478",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 120
  },
  "hsl": {
    "h": 148.98,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72698,
    "c": 0.16391,
    "h": 155.2
  },
  "luminance": 0.41489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31C478

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

Preview Lab → · Contrast checker → · Palette generator →

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