#31C059#31C059

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

Color values

HEX#31C059
RGBrgb(49, 192, 89)
HSLhsl(137, 59%, 47%)
HSVhsv(137, 74%, 75%)
CMYKcmyk(74.5%, 0%, 53.6%, 24.7%)
CIE-LABlab(68.80, -58.92, 41.03)
CIE-LCHlch(68.80, 71.80, 145.14°)
OKLaboklab(71.14% -0.1585 0.0985)
OKLCHoklch(71.14% 0.187 148.1)
XYZxyz(21.9177, 39.0710, 15.8356)
Luminance0.3907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C059 #C03198
analogous
#51C031 #31C059 #31C0A0
triadic
#31C059 #5931C0 #C05931
tetradic
#31C059 #3151C0 #C03198 #C0A031
square
#31C059 #3151C0 #C03198 #C0A031
split-complementary
#31C059 #A031C0 #C03151
monochromatic
#185E2C #258F42 #31C059 #59D57C #8AE1A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C059#FFFFFF#000000##000000
##31C0591.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)
#C2AF50
Deuteranopia (green-blind)
#B1A361
Tritanopia (blue-blind)
#00BCA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #31c059;
/* rgb */ color: rgb(49, 192, 89);
/* oklch */ color: oklch(71.1% 0.187 148.1);
Tailwind
colors: {
  custom: {
    50: '#7fd48a',
    500: '#31c059',
    950: '#000000',
  },
}
SCSS
$custom: #31c059;
$custom-light: #7fd48a;
$custom-dark: #000000;
JSON
{
  "hex": "#31c059",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 136.783,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71136,
    "c": 0.18662,
    "h": 148.1
  },
  "luminance": 0.39074
}

Semantic roles & 50–950 ramp

primary
#31C059
secondary
#CB82B7
accent
#45B7E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0B140C
muted
#7C837D

Preview Lab

Preview with #31C059

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

Preview Lab → · Contrast checker → · Palette generator →

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