#31C472#31C472

#31C472 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.6% C 0.169 H 153.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#31C472
RGBrgb(49, 196, 114)
HSLhsl(147, 60%, 48%)
HSVhsv(147, 75%, 77%)
CMYKcmyk(75%, 0%, 41.8%, 23.1%)
CIE-LABlab(70.42, -56.27, 30.53)
CIE-LCHlch(70.42, 64.02, 151.52°)
OKLaboklab(72.58% -0.1515 0.0757)
OKLCHoklch(72.58% 0.169 153.5)
XYZxyz(24.0416, 41.3449, 22.6296)
Luminance0.4135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C472 #C43183
analogous
#39C431 #31C472 #31C4BC
triadic
#31C472 #7231C4 #C47231
tetradic
#31C472 #3139C4 #C43183 #C4BC31
square
#31C472 #3139C4 #C43183 #C4BC31
split-complementary
#31C472 #BC31C4 #C43139
monochromatic
#196239 #259356 #31C472 #5CD692 #8DE2B3

Accessibility & contrast

On white

2.27
#31C472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#31C472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C472
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C472#FFFFFF#000000##000000
##31C4721.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B46C
Deuteranopia (green-blind)
#B3A778
Tritanopia (blue-blind)
#00C1B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #31c472;
/* rgb */ color: rgb(49, 196, 114);
/* oklch */ color: oklch(72.6% 0.169 153.5);
Tailwind
colors: {
  custom: {
    50: '#7fd79b',
    500: '#31c472',
    950: '#000000',
  },
}
SCSS
$custom: #31c472;
$custom-light: #7fd79b;
$custom-dark: #000000;
JSON
{
  "hex": "#31c472",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 114
  },
  "hsl": {
    "h": 146.531,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72585,
    "c": 0.16937,
    "h": 153.5
  },
  "luminance": 0.41348
}

Semantic roles & 50–950 ramp

primary
#31C472
secondary
#CD84AD
accent
#459DE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #31C472

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

Preview Lab → · Contrast checker → · Palette generator →

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