#31C073#31C073

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

Color values

HEX#31C073
RGBrgb(49, 192, 115)
HSLhsl(148, 59%, 47%)
HSVhsv(148, 74%, 75%)
CMYKcmyk(74.5%, 0%, 40.1%, 24.7%)
CIE-LABlab(69.17, -54.61, 28.38)
CIE-LCHlch(69.17, 61.55, 152.54°)
OKLaboklab(71.56% -0.1472 0.0706)
OKLCHoklch(71.56% 0.163 154.4)
XYZxyz(23.2086, 39.5873, 22.6343)
Luminance0.3959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C073 #C0317E
analogous
#37C031 #31C073 #31C0BA
triadic
#31C073 #7331C0 #C07331
tetradic
#31C073 #3137C0 #C0317E #C0BA31
square
#31C073 #3137C0 #C0317E #C0BA31
split-complementary
#31C073 #BA31C0 #C03137
monochromatic
#185E39 #258F56 #31C073 #59D592 #8AE1B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C073#FFFFFF#000000##000000
##31C0731.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)
#C0B06E
Deuteranopia (green-blind)
#AEA478
Tritanopia (blue-blind)
#00BEAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c073;
/* rgb */ color: rgb(49, 192, 115);
/* oklch */ color: oklch(71.6% 0.163 154.4);
Tailwind
colors: {
  custom: {
    50: '#7ed49c',
    500: '#31c073',
    950: '#000000',
  },
}
SCSS
$custom: #31c073;
$custom-light: #7ed49c;
$custom-dark: #000000;
JSON
{
  "hex": "#31c073",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 115
  },
  "hsl": {
    "h": 147.692,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71564,
    "c": 0.1633,
    "h": 154.4
  },
  "luminance": 0.3959
}

Semantic roles & 50–950 ramp

primary
#31C073
secondary
#CB82A9
accent
#459AE3
background
#F8FDF9
surface
#EFFAF2
border
#CAD3CC
text
#0B140E
muted
#7C837E

Preview Lab

Preview with #31C073

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

Preview Lab → · Contrast checker → · Palette generator →

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