#31B563#31B563

#31B563 is a light, vivid green. Relative luminance 0.346; OKLCH L 68.4% C 0.164 H 151.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#31B563
RGBrgb(49, 181, 99)
HSLhsl(143, 57%, 45%)
HSVhsv(143, 73%, 71%)
CMYKcmyk(72.9%, 0%, 45.3%, 29%)
CIE-LABlab(65.44, -53.42, 31.82)
CIE-LCHlch(65.44, 62.18, 149.22°)
OKLaboklab(68.4% -0.1438 0.0782)
OKLCHoklch(68.4% 0.164 151.4)
XYZxyz(20.0409, 34.5993, 17.4241)
Luminance0.3460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B563 #B53183
analogous
#41B531 #31B563 #31B5A5
triadic
#31B563 #6331B5 #B56331
tetradic
#31B563 #3141B5 #B53183 #B5A531
square
#31B563 #3141B5 #B53183 #B5A531
split-complementary
#31B563 #A531B5 #B53141
monochromatic
#17552E #248549 #31B563 #53D082 #83DDA5

Accessibility & contrast

On white

2.65
#31B563 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#31B563 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B563
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B563#FFFFFF#000000##000000
##31B5631.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A65D
Deuteranopia (green-blind)
#A69A69
Tritanopia (blue-blind)
#00B2A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b563;
/* rgb */ color: rgb(49, 181, 99);
/* oklch */ color: oklch(68.4% 0.164 151.4);
Tailwind
colors: {
  custom: {
    50: '#7ccc90',
    500: '#31b563',
    950: '#000000',
  },
}
SCSS
$custom: #31b563;
$custom-light: #7ccc90;
$custom-dark: #000000;
JSON
{
  "hex": "#31b563",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 99
  },
  "hsl": {
    "h": 142.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68395,
    "c": 0.16366,
    "h": 151.4
  },
  "luminance": 0.34602
}

Semantic roles & 50–950 ramp

primary
#31B563
secondary
#C77BAA
accent
#47A7E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130D
muted
#7C827D

Preview Lab

Preview with #31B563

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

Preview Lab → · Contrast checker → · Palette generator →

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