#31C456#31C456

#31C456 is a light, vivid green. Relative luminance 0.408; OKLCH L 72.1% C 0.194 H 147.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#31C456
RGBrgb(49, 196, 86)
HSLhsl(135, 60%, 48%)
HSVhsv(135, 75%, 77%)
CMYKcmyk(75%, 0%, 56.1%, 23.1%)
CIE-LABlab(70.04, -60.70, 43.95)
CIE-LCHlch(70.04, 74.94, 144.09°)
OKLaboklab(72.15% -0.1633 0.1048)
OKLCHoklch(72.15% 0.194 147.3)
XYZxyz(22.6845, 40.8021, 15.4823)
Luminance0.4081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C456 #C4319F
analogous
#55C431 #31C456 #31C49F
triadic
#31C456 #5631C4 #C45631
tetradic
#31C456 #3155C4 #C4319F #C49F31
square
#31C456 #3155C4 #C4319F #C49F31
split-complementary
#31C456 #9F31C4 #C43155
monochromatic
#19622B #259341 #31C456 #5CD67B #8DE2A2

Accessibility & contrast

On white

2.29
#31C456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#31C456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C456
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C456#FFFFFF#000000##000000
##31C4561.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24B
Deuteranopia (green-blind)
#B6A75F
Tritanopia (blue-blind)
#00C0AC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #31c456;
/* rgb */ color: rgb(49, 196, 86);
/* oklch */ color: oklch(72.1% 0.194 147.3);
Tailwind
colors: {
  custom: {
    50: '#80d788',
    500: '#31c456',
    950: '#000000',
  },
}
SCSS
$custom: #31c456;
$custom-light: #80d788;
$custom-dark: #000000;
JSON
{
  "hex": "#31c456",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 135.102,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72147,
    "c": 0.19406,
    "h": 147.3
  },
  "luminance": 0.40805
}

Semantic roles & 50–950 ramp

primary
#31C456
secondary
#CD84BA
accent
#45BBE3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #31C456

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

Preview Lab → · Contrast checker → · Palette generator →

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