#31C479#31C479

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

Color values

HEX#31C479
RGBrgb(49, 196, 121)
HSLhsl(149, 60%, 48%)
HSVhsv(149, 75%, 77%)
CMYKcmyk(75%, 0%, 38.3%, 23.1%)
CIE-LABlab(70.53, -54.97, 27.04)
CIE-LCHlch(70.53, 61.26, 153.81°)
OKLaboklab(72.72% -0.1483 0.0676)
OKLCHoklch(72.72% 0.163 155.5)
XYZxyz(24.4554, 41.5104, 24.8089)
Luminance0.4151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C479 #C4317C
analogous
#32C431 #31C479 #31C4C2
triadic
#31C479 #7931C4 #C47931
tetradic
#31C479 #3132C4 #C4317C #C4C231
square
#31C479 #3132C4 #C4317C #C4C231
split-complementary
#31C479 #C231C4 #C43132
monochromatic
#19623D #25935B #31C479 #5CD698 #8DE2B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C479#FFFFFF#000000##000000
##31C4791.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)
#C3B474
Deuteranopia (green-blind)
#B2A77E
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #31c479;
/* rgb */ color: rgb(49, 196, 121);
/* oklch */ color: oklch(72.7% 0.163 155.5);
Tailwind
colors: {
  custom: {
    50: '#7fd7a0',
    500: '#31c479',
    950: '#000000',
  },
}
SCSS
$custom: #31c479;
$custom-light: #7fd7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#31c479",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 121
  },
  "hsl": {
    "h": 149.388,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72717,
    "c": 0.16301,
    "h": 155.5
  },
  "luminance": 0.41513
}

Semantic roles & 50–950 ramp

primary
#31C479
secondary
#CD84A9
accent
#4596E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E

Preview Lab

Preview with #31C479

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

Preview Lab → · Contrast checker → · Palette generator →

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