#31C270#31C270

#31C270 is a light, vivid green. Relative luminance 0.404; OKLCH L 72.0% C 0.169 H 153.2°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#31C270
RGBrgb(49, 194, 112)
HSLhsl(146, 60%, 48%)
HSVhsv(146, 75%, 76%)
CMYKcmyk(74.7%, 0%, 42.3%, 23.9%)
CIE-LABlab(69.76, -55.90, 30.70)
CIE-LCHlch(69.76, 63.78, 151.23°)
OKLaboklab(72.03% -0.1505 0.076)
OKLCHoklch(72.03% 0.169 153.2)
XYZxyz(23.4809, 40.4036, 21.8873)
Luminance0.4041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C270 #C23183
analogous
#3AC231 #31C270 #31C2B9
triadic
#31C270 #7031C2 #C27031
tetradic
#31C270 #313AC2 #C23183 #C2B931
square
#31C270 #313AC2 #C23183 #C2B931
split-complementary
#31C270 #B931C2 #C2313A
monochromatic
#186038 #259154 #31C270 #5BD690 #8CE2B1

Accessibility & contrast

On white

2.31
#31C270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#31C270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C270
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C270#FFFFFF#000000##000000
##31C2701.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B26A
Deuteranopia (green-blind)
#B1A676
Tritanopia (blue-blind)
#00BFAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c270;
/* rgb */ color: rgb(49, 194, 112);
/* oklch */ color: oklch(72.0% 0.169 153.2);
Tailwind
colors: {
  custom: {
    50: '#7ed69a',
    500: '#31c270',
    950: '#000000',
  },
}
SCSS
$custom: #31c270;
$custom-light: #7ed69a;
$custom-dark: #000000;
JSON
{
  "hex": "#31c270",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 112
  },
  "hsl": {
    "h": 146.069,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72029,
    "c": 0.16861,
    "h": 153.2
  },
  "luminance": 0.40406
}

Semantic roles & 50–950 ramp

primary
#31C270
secondary
#CC83AC
accent
#459EE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0B140E
muted
#7C837E

Preview Lab

Preview with #31C270

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

Preview Lab → · Contrast checker → · Palette generator →

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