#31B367#31B367

#31B367 is a light, vivid green. Relative luminance 0.339; OKLCH L 67.9% C 0.157 H 152.9°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#31B367
RGBrgb(49, 179, 103)
HSLhsl(145, 57%, 45%)
HSVhsv(145, 73%, 70%)
CMYKcmyk(72.6%, 0%, 42.5%, 29.8%)
CIE-LABlab(64.86, -51.97, 29.00)
CIE-LCHlch(64.86, 59.51, 150.84°)
OKLaboklab(67.94% -0.14 0.0718)
OKLCHoklch(67.94% 0.157 152.9)
XYZxyz(19.8332, 33.8702, 18.3217)
Luminance0.3387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B367 #B3317D
analogous
#3CB331 #31B367 #31B3A8
triadic
#31B367 #6731B3 #B36731
tetradic
#31B367 #313CB3 #B3317D #B3A831
square
#31B367 #313CB3 #B3317D #B3A831
split-complementary
#31B367 #A831B3 #B3313C
monochromatic
#175330 #24834B #31B367 #52D086 #82DDA8

Accessibility & contrast

On white

2.70
#31B367 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#31B367 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B367
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B367#FFFFFF#000000##000000
##31B3671.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A462
Deuteranopia (green-blind)
#A3996C
Tritanopia (blue-blind)
#00B1A0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b367;
/* rgb */ color: rgb(49, 179, 103);
/* oklch */ color: oklch(67.9% 0.157 152.9);
Tailwind
colors: {
  custom: {
    50: '#7bcb93',
    500: '#31b367',
    950: '#000000',
  },
}
SCSS
$custom: #31b367;
$custom-light: #7bcb93;
$custom-dark: #000000;
JSON
{
  "hex": "#31b367",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 103
  },
  "hsl": {
    "h": 144.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6794,
    "c": 0.15733,
    "h": 152.9
  },
  "luminance": 0.33872
}

Semantic roles & 50–950 ramp

primary
#31B367
secondary
#C67AA6
accent
#48A1E0
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B367

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

Preview Lab → · Contrast checker → · Palette generator →

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