#31C474#31C474

#31C474 is a light, vivid green. Relative luminance 0.414; OKLCH L 72.6% C 0.168 H 154.0°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#31C474
RGBrgb(49, 196, 116)
HSLhsl(147, 60%, 48%)
HSVhsv(147, 75%, 77%)
CMYKcmyk(75%, 0%, 40.8%, 23.1%)
CIE-LABlab(70.45, -55.91, 29.53)
CIE-LCHlch(70.45, 63.23, 152.16°)
OKLaboklab(72.62% -0.1506 0.0734)
OKLCHoklch(72.62% 0.168 154)
XYZxyz(24.1567, 41.3909, 23.2357)
Luminance0.4139 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C474 #C43181
analogous
#37C431 #31C474 #31C4BD
triadic
#31C474 #7431C4 #C47431
tetradic
#31C474 #3137C4 #C43181 #C4BD31
square
#31C474 #3137C4 #C43181 #C4BD31
split-complementary
#31C474 #BD31C4 #C43137
monochromatic
#19623A #259357 #31C474 #5CD694 #8DE2B4

Accessibility & contrast

On white

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

On black

9.28
#31C474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C474
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C474#FFFFFF#000000##000000
##31C4741.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B46E
Deuteranopia (green-blind)
#B2A779
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #31c474;
/* rgb */ color: rgb(49, 196, 116);
/* oklch */ color: oklch(72.6% 0.168 154.0);
Tailwind
colors: {
  custom: {
    50: '#7fd79d',
    500: '#31c474',
    950: '#000000',
  },
}
SCSS
$custom: #31c474;
$custom-light: #7fd79d;
$custom-dark: #000000;
JSON
{
  "hex": "#31c474",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 116
  },
  "hsl": {
    "h": 147.347,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72622,
    "c": 0.16755,
    "h": 154
  },
  "luminance": 0.41394
}

Semantic roles & 50–950 ramp

primary
#31C474
secondary
#CD84AC
accent
#459BE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #31C474

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

Preview Lab → · Contrast checker → · Palette generator →

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