#31C531#31C531

#31C531 is a light, highly saturated green. Relative luminance 0.408; OKLCH L 72.0% C 0.221 H 142.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#31C531
RGBrgb(49, 197, 49)
HSLhsl(120, 60%, 48%)
HSVhsv(120, 75%, 77%)
CMYKcmyk(75.1%, 0%, 75.1%, 22.7%)
CIE-LABlab(70.04, -64.86, 59.22)
CIE-LCHlch(70.04, 87.83, 137.60°)
OKLaboklab(72.05% -0.1761 0.1334)
OKLCHoklch(72.05% 0.221 142.9)
XYZxyz(21.7859, 40.8047, 9.6331)
Luminance0.4081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C531 #C531C5
analogous
#7BC531 #31C531 #31C57B
triadic
#31C531 #3131C5 #C53131
tetradic
#31C531 #317BC5 #C531C5 #C57B31
square
#31C531 #317BC5 #C531C5 #C57B31
split-complementary
#31C531 #7B31C5 #C5317B
monochromatic
#196319 #259425 #31C531 #5DD75D #8EE38E

Accessibility & contrast

On white

2.29
#31C531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#31C531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C531
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C531#FFFFFF#000000##000000
##31C5311.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B210
Deuteranopia (green-blind)
#B9A741
Tritanopia (blue-blind)
#00BFA9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #31c531;
/* rgb */ color: rgb(49, 197, 49);
/* oklch */ color: oklch(72.0% 0.221 142.9);
Tailwind
colors: {
  custom: {
    50: '#81d873',
    500: '#31c531',
    950: '#000000',
  },
}
SCSS
$custom: #31c531;
$custom-light: #81d873;
$custom-dark: #000000;
JSON
{
  "hex": "#31c531",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72046,
    "c": 0.22088,
    "h": 142.9
  },
  "luminance": 0.40807
}

Semantic roles & 50–950 ramp

primary
#31C531
secondary
#CD85CD
accent
#44E3E3
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1509
muted
#7D837B

Preview Lab

Preview with #31C531

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

Preview Lab → · Contrast checker → · Palette generator →

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