#31C47A#31C47A

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

Color values

HEX#31C47A
RGBrgb(49, 196, 122)
HSLhsl(150, 60%, 48%)
HSVhsv(150, 75%, 77%)
CMYKcmyk(75%, 0%, 37.8%, 23.1%)
CIE-LABlab(70.55, -54.77, 26.54)
CIE-LCHlch(70.55, 60.86, 154.15°)
OKLaboklab(72.74% -0.1479 0.0664)
OKLCHoklch(72.74% 0.162 155.8)
XYZxyz(24.5170, 41.5351, 25.1335)
Luminance0.4154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C47A #C4317B
analogous
#31C431 #31C47A #31C4C3
triadic
#31C47A #7A31C4 #C47A31
tetradic
#31C47A #3131C4 #C4317B #C4C331
square
#31C47A #3131C4 #C4317B #C4C331
split-complementary
#31C47A #C331C4 #C43131
monochromatic
#19623D #25935C #31C47A #5CD699 #8DE2B7

Accessibility & contrast

On white

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

On black

9.31
#31C47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C47A
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C47A#FFFFFF#000000##000000
##31C47A1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B475
Deuteranopia (green-blind)
#B1A87F
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c47a;
/* rgb */ color: rgb(49, 196, 122);
/* oklch */ color: oklch(72.7% 0.162 155.8);
Tailwind
colors: {
  custom: {
    50: '#7fd7a1',
    500: '#31c47a',
    950: '#000000',
  },
}
SCSS
$custom: #31c47a;
$custom-light: #7fd7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31c47a",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 122
  },
  "hsl": {
    "h": 149.796,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72737,
    "c": 0.16211,
    "h": 155.8
  },
  "luminance": 0.41538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31C47A

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

Preview Lab → · Contrast checker → · Palette generator →

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