#31C575#31C575

#31C575 is a light, vivid green. Relative luminance 0.419; OKLCH L 72.9% C 0.168 H 154.2°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#31C575
RGBrgb(49, 197, 117)
HSLhsl(148, 60%, 48%)
HSVhsv(148, 75%, 77%)
CMYKcmyk(75.1%, 0%, 40.6%, 22.7%)
CIE-LABlab(70.78, -56.09, 29.45)
CIE-LCHlch(70.78, 63.35, 152.30°)
OKLaboklab(72.9% -0.1511 0.0732)
OKLCHoklch(72.9% 0.168 154.2)
XYZxyz(24.4415, 41.8669, 23.6192)
Luminance0.4187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C575 #C53181
analogous
#37C531 #31C575 #31C5BF
triadic
#31C575 #7531C5 #C57531
tetradic
#31C575 #3137C5 #C53181 #C5BF31
square
#31C575 #3137C5 #C53181 #C5BF31
split-complementary
#31C575 #BF31C5 #C53137
monochromatic
#19633B #259458 #31C575 #5DD795 #8EE3B5

Accessibility & contrast

On white

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

On black

9.37
#31C575 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C575
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C575#FFFFFF#000000##000000
##31C5751.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B56F
Deuteranopia (green-blind)
#B3A87A
Tritanopia (blue-blind)
#00C3B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c575;
/* rgb */ color: rgb(49, 197, 117);
/* oklch */ color: oklch(72.9% 0.168 154.2);
Tailwind
colors: {
  custom: {
    50: '#7fd89d',
    500: '#31c575',
    950: '#000000',
  },
}
SCSS
$custom: #31c575;
$custom-light: #7fd89d;
$custom-dark: #000000;
JSON
{
  "hex": "#31c575",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 117
  },
  "hsl": {
    "h": 147.568,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72899,
    "c": 0.16792,
    "h": 154.2
  },
  "luminance": 0.4187
}

Semantic roles & 50–950 ramp

primary
#31C575
secondary
#CD85AC
accent
#449AE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31C575

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

Preview Lab → · Contrast checker → · Palette generator →

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