#31B867#31B867

#31B867 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.3% C 0.164 H 152.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#31B867
RGBrgb(49, 184, 103)
HSLhsl(144, 58%, 46%)
HSVhsv(144, 73%, 72%)
CMYKcmyk(73.4%, 0%, 44%, 27.8%)
CIE-LABlab(66.45, -53.83, 31.06)
CIE-LCHlch(66.45, 62.15, 150.01°)
OKLaboklab(69.25% -0.1449 0.0766)
OKLCHoklch(69.25% 0.164 152.1)
XYZxyz(20.8535, 35.9108, 18.6618)
Luminance0.3591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B867 #B83182
analogous
#3EB831 #31B867 #31B8AA
triadic
#31B867 #6731B8 #B86731
tetradic
#31B867 #313EB8 #B83182 #B8AA31
square
#31B867 #313EB8 #B83182 #B8AA31
split-complementary
#31B867 #AA31B8 #B8313E
monochromatic
#175731 #24884C #31B867 #55D287 #85DEA9

Accessibility & contrast

On white

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

On black

8.18
#31B867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B867
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B867#FFFFFF#000000##000000
##31B8671.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A861
Deuteranopia (green-blind)
#A89D6D
Tritanopia (blue-blind)
#00B5A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b867;
/* rgb */ color: rgb(49, 184, 103);
/* oklch */ color: oklch(69.3% 0.164 152.1);
Tailwind
colors: {
  custom: {
    50: '#7cce93',
    500: '#31b867',
    950: '#000000',
  },
}
SCSS
$custom: #31b867;
$custom-light: #7cce93;
$custom-dark: #000000;
JSON
{
  "hex": "#31b867",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 103
  },
  "hsl": {
    "h": 144,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69254,
    "c": 0.16389,
    "h": 152.1
  },
  "luminance": 0.35913
}

Semantic roles & 50–950 ramp

primary
#31B867
secondary
#C87DAA
accent
#47A3E1
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31B867

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

Preview Lab → · Contrast checker → · Palette generator →

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