#31C471#31C471

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

Color values

HEX#31C471
RGBrgb(49, 196, 113)
HSLhsl(146, 60%, 48%)
HSVhsv(146, 75%, 77%)
CMYKcmyk(75%, 0%, 42.3%, 23.1%)
CIE-LABlab(70.40, -56.46, 31.02)
CIE-LCHlch(70.40, 64.42, 151.21°)
OKLaboklab(72.57% -0.152 0.0768)
OKLCHoklch(72.57% 0.17 153.2)
XYZxyz(23.9850, 41.3223, 22.3315)
Luminance0.4133 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C471 #C43184
analogous
#3BC431 #31C471 #31C4BA
triadic
#31C471 #7131C4 #C47131
tetradic
#31C471 #313BC4 #C43184 #C4BA31
square
#31C471 #313BC4 #C43184 #C4BA31
split-complementary
#31C471 #BA31C4 #C4313B
monochromatic
#196239 #259355 #31C471 #5CD691 #8DE2B2

Accessibility & contrast

On white

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

On black

9.26
#31C471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C471
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C471#FFFFFF#000000##000000
##31C4711.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c471;
/* rgb */ color: rgb(49, 196, 113);
/* oklch */ color: oklch(72.6% 0.170 153.2);
Tailwind
colors: {
  custom: {
    50: '#7fd79b',
    500: '#31c471',
    950: '#000000',
  },
}
SCSS
$custom: #31c471;
$custom-light: #7fd79b;
$custom-dark: #000000;
JSON
{
  "hex": "#31c471",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 113
  },
  "hsl": {
    "h": 146.122,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72566,
    "c": 0.17028,
    "h": 153.2
  },
  "luminance": 0.41325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31C471

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

Preview Lab → · Contrast checker → · Palette generator →

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