#31C072#31C072

#31C072 is a light, vivid green. Relative luminance 0.396; OKLCH L 71.5% C 0.164 H 154.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#31C072
RGBrgb(49, 192, 114)
HSLhsl(147, 59%, 47%)
HSVhsv(147, 74%, 75%)
CMYKcmyk(74.5%, 0%, 40.6%, 24.7%)
CIE-LABlab(69.16, -54.80, 28.88)
CIE-LCHlch(69.16, 61.94, 152.21°)
OKLaboklab(71.55% -0.1477 0.0718)
OKLCHoklch(71.55% 0.164 154.1)
XYZxyz(23.1514, 39.5644, 22.3329)
Luminance0.3957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C072 #C0317F
analogous
#37C031 #31C072 #31C0BA
triadic
#31C072 #7231C0 #C07231
tetradic
#31C072 #3137C0 #C0317F #C0BA31
square
#31C072 #3137C0 #C0317F #C0BA31
split-complementary
#31C072 #BA31C0 #C03137
monochromatic
#185E38 #258F55 #31C072 #59D591 #8AE1B2

Accessibility & contrast

On white

2.36
#31C072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#31C072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C072
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C072#FFFFFF#000000##000000
##31C0721.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c072;
/* rgb */ color: rgb(49, 192, 114);
/* oklch */ color: oklch(71.5% 0.164 154.1);
Tailwind
colors: {
  custom: {
    50: '#7ed49b',
    500: '#31c072',
    950: '#000000',
  },
}
SCSS
$custom: #31c072;
$custom-light: #7ed49b;
$custom-dark: #000000;
JSON
{
  "hex": "#31c072",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 114
  },
  "hsl": {
    "h": 147.273,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71546,
    "c": 0.1642,
    "h": 154.1
  },
  "luminance": 0.39567
}

Semantic roles & 50–950 ramp

primary
#31C072
secondary
#CB82AA
accent
#459BE3
background
#F8FDF9
surface
#EFFAF2
border
#CAD3CC
text
#0B140E
muted
#7C837E

Preview Lab

Preview with #31C072

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

Preview Lab → · Contrast checker → · Palette generator →

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