#31C46F#31C46F

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

Color values

HEX#31C46F
RGBrgb(49, 196, 111)
HSLhsl(145, 60%, 48%)
HSVhsv(145, 75%, 77%)
CMYKcmyk(75%, 0%, 43.4%, 23.1%)
CIE-LABlab(70.37, -56.81, 32.01)
CIE-LCHlch(70.37, 65.21, 150.60°)
OKLaboklab(72.53% -0.1529 0.079)
OKLCHoklch(72.53% 0.172 152.7)
XYZxyz(23.8737, 41.2777, 21.7450)
Luminance0.4128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C46F #C43186
analogous
#3DC431 #31C46F #31C4B8
triadic
#31C46F #6F31C4 #C46F31
tetradic
#31C46F #313DC4 #C43186 #C4B831
square
#31C46F #313DC4 #C43186 #C4B831
split-complementary
#31C46F #B831C4 #C4313D
monochromatic
#196238 #259353 #31C46F #5CD690 #8DE2B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C46F#FFFFFF#000000##000000
##31C46F1.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)
#C4B369
Deuteranopia (green-blind)
#B3A775
Tritanopia (blue-blind)
#00C1AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #31c46f;
/* rgb */ color: rgb(49, 196, 111);
/* oklch */ color: oklch(72.5% 0.172 152.7);
Tailwind
colors: {
  custom: {
    50: '#7fd799',
    500: '#31c46f',
    950: '#000000',
  },
}
SCSS
$custom: #31c46f;
$custom-light: #7fd799;
$custom-dark: #000000;
JSON
{
  "hex": "#31c46f",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 111
  },
  "hsl": {
    "h": 145.306,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72531,
    "c": 0.17209,
    "h": 152.7
  },
  "luminance": 0.41281
}

Semantic roles & 50–950 ramp

primary
#31C46F
secondary
#CD84AE
accent
#45A0E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #31C46F

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

Preview Lab → · Contrast checker → · Palette generator →

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