#31B864#31B864

#31B864 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.2% C 0.167 H 151.3°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#31B864
RGBrgb(49, 184, 100)
HSLhsl(143, 58%, 46%)
HSVhsv(143, 73%, 72%)
CMYKcmyk(73.4%, 0%, 45.7%, 27.8%)
CIE-LABlab(66.41, -54.35, 32.55)
CIE-LCHlch(66.41, 63.35, 149.08°)
OKLaboklab(69.2% -0.1462 0.0799)
OKLCHoklch(69.2% 0.167 151.3)
XYZxyz(20.7056, 35.8517, 17.8829)
Luminance0.3585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B864 #B83185
analogous
#41B831 #31B864 #31B8A7
triadic
#31B864 #6431B8 #B86431
tetradic
#31B864 #3141B8 #B83185 #B8A731
square
#31B864 #3141B8 #B83185 #B8A731
split-complementary
#31B864 #A731B8 #B83141
monochromatic
#17572F #24884A #31B864 #55D284 #85DEA7

Accessibility & contrast

On white

2.57
#31B864 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#31B864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B864
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B864#FFFFFF#000000##000000
##31B8641.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A85E
Deuteranopia (green-blind)
#A99D6A
Tritanopia (blue-blind)
#00B5A4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b864;
/* rgb */ color: rgb(49, 184, 100);
/* oklch */ color: oklch(69.2% 0.167 151.3);
Tailwind
colors: {
  custom: {
    50: '#7cce91',
    500: '#31b864',
    950: '#000000',
  },
}
SCSS
$custom: #31b864;
$custom-light: #7cce91;
$custom-dark: #000000;
JSON
{
  "hex": "#31b864",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 100
  },
  "hsl": {
    "h": 142.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69202,
    "c": 0.16665,
    "h": 151.3
  },
  "luminance": 0.35854
}

Semantic roles & 50–950 ramp

primary
#31B864
secondary
#C87DAC
accent
#47A7E1
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31B864

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

Preview Lab → · Contrast checker → · Palette generator →

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