#31C074#31C074

#31C074 is a light, vivid green. Relative luminance 0.396; OKLCH L 71.6% C 0.162 H 154.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#31C074
RGBrgb(49, 192, 116)
HSLhsl(148, 59%, 47%)
HSVhsv(148, 74%, 75%)
CMYKcmyk(74.5%, 0%, 39.6%, 24.7%)
CIE-LABlab(69.19, -54.43, 27.88)
CIE-LCHlch(69.19, 61.15, 152.88°)
OKLaboklab(71.58% -0.1468 0.0695)
OKLCHoklch(71.58% 0.162 154.7)
XYZxyz(23.2665, 39.6105, 22.9390)
Luminance0.3961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C074 #C0317D
analogous
#35C031 #31C074 #31C0BC
triadic
#31C074 #7431C0 #C07431
tetradic
#31C074 #3135C0 #C0317D #C0BC31
square
#31C074 #3135C0 #C0317D #C0BC31
split-complementary
#31C074 #BC31C0 #C03135
monochromatic
#185E39 #258F57 #31C074 #59D593 #8AE1B3

Accessibility & contrast

On white

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

On black

8.92
#31C074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C074
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C074#FFFFFF#000000##000000
##31C0741.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB06F
Deuteranopia (green-blind)
#AEA479
Tritanopia (blue-blind)
#00BEAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c074;
/* rgb */ color: rgb(49, 192, 116);
/* oklch */ color: oklch(71.6% 0.162 154.7);
Tailwind
colors: {
  custom: {
    50: '#7ed49c',
    500: '#31c074',
    950: '#000000',
  },
}
SCSS
$custom: #31c074;
$custom-light: #7ed49c;
$custom-dark: #000000;
JSON
{
  "hex": "#31c074",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 116
  },
  "hsl": {
    "h": 148.112,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71584,
    "c": 0.16238,
    "h": 154.7
  },
  "luminance": 0.39613
}

Semantic roles & 50–950 ramp

primary
#31C074
secondary
#CB82A9
accent
#4599E3
background
#F8FDF9
surface
#EFFAF2
border
#CAD3CC
text
#0B140E
muted
#7C837E

Preview Lab

Preview with #31C074

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

Preview Lab → · Contrast checker → · Palette generator →

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