#31C272#31C272

#31C272 is a light, vivid green. Relative luminance 0.405; OKLCH L 72.1% C 0.167 H 153.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#31C272
RGBrgb(49, 194, 114)
HSLhsl(147, 60%, 48%)
HSVhsv(147, 75%, 76%)
CMYKcmyk(74.7%, 0%, 41.2%, 23.9%)
CIE-LABlab(69.79, -55.54, 29.70)
CIE-LCHlch(69.79, 62.98, 151.86°)
OKLaboklab(72.07% -0.1496 0.0737)
OKLCHoklch(72.07% 0.167 153.8)
XYZxyz(23.5935, 40.4487, 22.4803)
Luminance0.4045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C272 #C23181
analogous
#38C231 #31C272 #31C2BB
triadic
#31C272 #7231C2 #C27231
tetradic
#31C272 #3138C2 #C23181 #C2BB31
square
#31C272 #3138C2 #C23181 #C2BB31
split-complementary
#31C272 #BB31C2 #C23138
monochromatic
#186039 #259155 #31C272 #5BD692 #8CE2B2

Accessibility & contrast

On white

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

On black

9.09
#31C272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C272
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C272#FFFFFF#000000##000000
##31C2721.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B26C
Deuteranopia (green-blind)
#B1A677
Tritanopia (blue-blind)
#00C0AE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c272;
/* rgb */ color: rgb(49, 194, 114);
/* oklch */ color: oklch(72.1% 0.167 153.8);
Tailwind
colors: {
  custom: {
    50: '#7ed59b',
    500: '#31c272',
    950: '#000000',
  },
}
SCSS
$custom: #31c272;
$custom-light: #7ed59b;
$custom-dark: #000000;
JSON
{
  "hex": "#31c272",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 114
  },
  "hsl": {
    "h": 146.897,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72065,
    "c": 0.16679,
    "h": 153.8
  },
  "luminance": 0.40451
}

Semantic roles & 50–950 ramp

primary
#31C272
secondary
#CC83AB
accent
#459CE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0B140E
muted
#7C837E

Preview Lab

Preview with #31C272

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

Preview Lab → · Contrast checker → · Palette generator →

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