#31B568#31B568

#31B568 is a light, vivid green. Relative luminance 0.347; OKLCH L 68.5% C 0.159 H 152.8°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#31B568
RGBrgb(49, 181, 104)
HSLhsl(145, 57%, 45%)
HSVhsv(145, 73%, 71%)
CMYKcmyk(72.9%, 0%, 42.5%, 29%)
CIE-LABlab(65.51, -52.54, 29.32)
CIE-LCHlch(65.51, 60.17, 150.83°)
OKLaboklab(68.48% -0.1415 0.0726)
OKLCHoklch(68.48% 0.159 152.8)
XYZxyz(20.2874, 34.6979, 18.7222)
Luminance0.3470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B568 #B5317E
analogous
#3CB531 #31B568 #31B5AA
triadic
#31B568 #6831B5 #B56831
tetradic
#31B568 #313CB5 #B5317E #B5AA31
square
#31B568 #313CB5 #B5317E #B5AA31
split-complementary
#31B568 #AA31B5 #B5313C
monochromatic
#175531 #24854C #31B568 #53D087 #83DDA9

Accessibility & contrast

On white

2.64
#31B568 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#31B568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B568
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B568#FFFFFF#000000##000000
##31B5681.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A662
Deuteranopia (green-blind)
#A59B6D
Tritanopia (blue-blind)
#00B3A2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b568;
/* rgb */ color: rgb(49, 181, 104);
/* oklch */ color: oklch(68.5% 0.159 152.8);
Tailwind
colors: {
  custom: {
    50: '#7ccc94',
    500: '#31b568',
    950: '#000000',
  },
}
SCSS
$custom: #31b568;
$custom-light: #7ccc94;
$custom-dark: #000000;
JSON
{
  "hex": "#31b568",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 104
  },
  "hsl": {
    "h": 145,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68484,
    "c": 0.15904,
    "h": 152.8
  },
  "luminance": 0.347
}

Semantic roles & 50–950 ramp

primary
#31B568
secondary
#C77BA7
accent
#47A1E1
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B568

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

Preview Lab → · Contrast checker → · Palette generator →

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