#31B564#31B564

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

Color values

HEX#31B564
RGBrgb(49, 181, 100)
HSLhsl(143, 57%, 45%)
HSVhsv(143, 73%, 71%)
CMYKcmyk(72.9%, 0%, 44.8%, 29%)
CIE-LABlab(65.45, -53.24, 31.33)
CIE-LCHlch(65.45, 61.78, 149.53°)
OKLaboklab(68.41% -0.1433 0.0771)
OKLCHoklch(68.41% 0.163 151.7)
XYZxyz(20.0890, 34.6185, 17.6774)
Luminance0.3462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B564 #B53182
analogous
#40B531 #31B564 #31B5A6
triadic
#31B564 #6431B5 #B56431
tetradic
#31B564 #3140B5 #B53182 #B5A631
square
#31B564 #3140B5 #B53182 #B5A631
split-complementary
#31B564 #A631B5 #B53140
monochromatic
#17552F #248549 #31B564 #53D083 #83DDA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B564#FFFFFF#000000##000000
##31B5641.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)
#B6A65E
Deuteranopia (green-blind)
#A69A6A
Tritanopia (blue-blind)
#00B2A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b564;
/* rgb */ color: rgb(49, 181, 100);
/* oklch */ color: oklch(68.4% 0.163 151.7);
Tailwind
colors: {
  custom: {
    50: '#7ccc91',
    500: '#31b564',
    950: '#000000',
  },
}
SCSS
$custom: #31b564;
$custom-light: #7ccc91;
$custom-dark: #000000;
JSON
{
  "hex": "#31b564",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 100
  },
  "hsl": {
    "h": 143.182,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68412,
    "c": 0.16273,
    "h": 151.7
  },
  "luminance": 0.34621
}

Semantic roles & 50–950 ramp

primary
#31B564
secondary
#C77BA9
accent
#47A5E1
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B564

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

Preview Lab → · Contrast checker → · Palette generator →

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