#31C078#31C078

#31C078 is a light, vivid green. Relative luminance 0.397; OKLCH L 71.7% C 0.159 H 155.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#31C078
RGBrgb(49, 192, 120)
HSLhsl(150, 59%, 47%)
HSVhsv(150, 74%, 75%)
CMYKcmyk(74.5%, 0%, 37.5%, 24.7%)
CIE-LABlab(69.26, -53.66, 25.87)
CIE-LCHlch(69.26, 59.57, 154.26°)
OKLaboklab(71.66% -0.1449 0.0648)
OKLCHoklch(71.66% 0.159 155.9)
XYZxyz(23.5042, 39.7055, 24.1909)
Luminance0.3971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C078 #C03179
analogous
#32C031 #31C078 #31C0BF
triadic
#31C078 #7831C0 #C07831
tetradic
#31C078 #3132C0 #C03179 #C0BF31
square
#31C078 #3132C0 #C03179 #C0BF31
split-complementary
#31C078 #BF31C0 #C03132
monochromatic
#185E3B #258F5A #31C078 #59D597 #8AE1B5

Accessibility & contrast

On white

2.35
#31C078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#31C078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C078
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C078#FFFFFF#000000##000000
##31C0781.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB073
Deuteranopia (green-blind)
#AEA47D
Tritanopia (blue-blind)
#00BEAE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c078;
/* rgb */ color: rgb(49, 192, 120);
/* oklch */ color: oklch(71.7% 0.159 155.9);
Tailwind
colors: {
  custom: {
    50: '#7ed49f',
    500: '#31c078',
    950: '#000000',
  },
}
SCSS
$custom: #31c078;
$custom-light: #7ed49f;
$custom-dark: #000000;
JSON
{
  "hex": "#31c078",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 120
  },
  "hsl": {
    "h": 149.79,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71662,
    "c": 0.15874,
    "h": 155.9
  },
  "luminance": 0.39708
}

Semantic roles & 50–950 ramp

primary
#31C078
secondary
#CB82A7
accent
#4594E3
background
#F8FDF9
surface
#EFFAF2
border
#CAD3CC
text
#0B140E
muted
#7C837E

Preview Lab

Preview with #31C078

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

Preview Lab → · Contrast checker → · Palette generator →

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