#31C742#31C742

#31C742 is a light, highly saturated green. Relative luminance 0.419; OKLCH L 72.7% C 0.213 H 144.4°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#31C742
RGBrgb(49, 199, 66)
HSLhsl(127, 60%, 49%)
HSVhsv(127, 75%, 78%)
CMYKcmyk(75.4%, 0%, 66.8%, 22%)
CIE-LABlab(70.80, -64.03, 53.64)
CIE-LCHlch(70.80, 83.53, 140.05°)
OKLaboklab(72.71% -0.173 0.1238)
OKLCHoklch(72.71% 0.213 144.4)
XYZxyz(22.6719, 41.8905, 12.0440)
Luminance0.4189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C742 #C731B6
analogous
#6BC731 #31C742 #31C78D
triadic
#31C742 #4231C7 #C74231
tetradic
#31C742 #316BC7 #C731B6 #C78D31
square
#31C742 #316BC7 #C731B6 #C78D31
split-complementary
#31C742 #8D31C7 #C7316B
monochromatic
#196521 #259632 #31C742 #5ED76C #8FE399

Accessibility & contrast

On white

2.24
#31C742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#31C742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C742
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C742#FFFFFF#000000##000000
##31C7421.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB430
Deuteranopia (green-blind)
#BAA94E
Tritanopia (blue-blind)
#00C2AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c742;
/* rgb */ color: rgb(49, 199, 66);
/* oklch */ color: oklch(72.7% 0.213 144.4);
Tailwind
colors: {
  custom: {
    50: '#81d97c',
    500: '#31c742',
    950: '#000000',
  },
}
SCSS
$custom: #31c742;
$custom-light: #81d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#31c742",
  "rgb": {
    "r": 49,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 126.8,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72713,
    "c": 0.21275,
    "h": 144.4
  },
  "luminance": 0.41893
}

Semantic roles & 50–950 ramp

primary
#31C742
secondary
#CE86C6
accent
#44D2E4
background
#F8FDF7
surface
#F0FBEE
border
#CBD4C9
text
#0C150A
muted
#7D837C

Preview Lab

Preview with #31C742

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

Preview Lab → · Contrast checker → · Palette generator →

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