#31C057#31C057

#31C057 is a light, vivid green. Relative luminance 0.390; OKLCH L 71.1% C 0.188 H 147.8°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#31C057
RGBrgb(49, 192, 87)
HSLhsl(136, 59%, 47%)
HSVhsv(136, 74%, 75%)
CMYKcmyk(74.5%, 0%, 54.7%, 24.7%)
CIE-LABlab(68.78, -59.20, 41.97)
CIE-LCHlch(68.78, 72.57, 144.67°)
OKLaboklab(71.11% -0.1593 0.1005)
OKLCHoklch(71.11% 0.188 147.8)
XYZxyz(21.8349, 39.0378, 15.3993)
Luminance0.3904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C057 #C0319A
analogous
#53C031 #31C057 #31C09F
triadic
#31C057 #5731C0 #C05731
tetradic
#31C057 #3153C0 #C0319A #C09F31
square
#31C057 #3153C0 #C0319A #C09F31
split-complementary
#31C057 #9F31C0 #C03153
monochromatic
#185E2B #258F41 #31C057 #59D57A #8AE1A1

Accessibility & contrast

On white

2.38
#31C057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#31C057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C057
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C057#FFFFFF#000000##000000
##31C0571.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4D
Deuteranopia (green-blind)
#B2A35F
Tritanopia (blue-blind)
#00BCA8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #31c057;
/* rgb */ color: rgb(49, 192, 87);
/* oklch */ color: oklch(71.1% 0.188 147.8);
Tailwind
colors: {
  custom: {
    50: '#7fd489',
    500: '#31c057',
    950: '#000000',
  },
}
SCSS
$custom: #31c057;
$custom-light: #7fd489;
$custom-dark: #000000;
JSON
{
  "hex": "#31c057",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 135.944,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71108,
    "c": 0.18832,
    "h": 147.8
  },
  "luminance": 0.3904
}

Semantic roles & 50–950 ramp

primary
#31C057
secondary
#CB82B8
accent
#45B9E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #31C057

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

Preview Lab → · Contrast checker → · Palette generator →

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