#31C545#31C545

#31C545 is a light, highly saturated green. Relative luminance 0.410; OKLCH L 72.2% C 0.208 H 144.8°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#31C545
RGBrgb(49, 197, 69)
HSLhsl(128, 60%, 48%)
HSVhsv(128, 75%, 77%)
CMYKcmyk(75.1%, 0%, 65%, 22.7%)
CIE-LABlab(70.18, -63.08, 51.73)
CIE-LCHlch(70.18, 81.58, 140.64°)
OKLaboklab(72.21% -0.1703 0.12)
OKLCHoklch(72.21% 0.208 144.8)
XYZxyz(22.3055, 41.0125, 12.3697)
Luminance0.4102 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C545 #C531B1
analogous
#67C531 #31C545 #31C58F
triadic
#31C545 #4531C5 #C54531
tetradic
#31C545 #3167C5 #C531B1 #C58F31
square
#31C545 #3167C5 #C531B1 #C58F31
split-complementary
#31C545 #8F31C5 #C53167
monochromatic
#196323 #259434 #31C545 #5DD76D #8EE399

Accessibility & contrast

On white

2.28
#31C545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#31C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C545
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C545#FFFFFF#000000##000000
##31C5451.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B335
Deuteranopia (green-blind)
#B8A751
Tritanopia (blue-blind)
#00C0AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #31c545;
/* rgb */ color: rgb(49, 197, 69);
/* oklch */ color: oklch(72.2% 0.208 144.8);
Tailwind
colors: {
  custom: {
    50: '#80d87e',
    500: '#31c545',
    950: '#000000',
  },
}
SCSS
$custom: #31c545;
$custom-light: #80d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#31c545",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 128.108,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72214,
    "c": 0.20839,
    "h": 144.8
  },
  "luminance": 0.41015
}

Semantic roles & 50–950 ramp

primary
#31C545
secondary
#CD85C3
accent
#44CEE3
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C150A
muted
#7D837C

Preview Lab

Preview with #31C545

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

Preview Lab → · Contrast checker → · Palette generator →

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