#31884F#31884F

#31884F is a mid, vivid green. Relative luminance 0.188; OKLCH L 56.0% C 0.121 H 151.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#31884F
RGBrgb(49, 136, 79)
HSLhsl(141, 47%, 36%)
HSVhsv(141, 64%, 53%)
CMYKcmyk(64%, 0%, 41.9%, 46.7%)
CIE-LABlab(50.48, -39.39, 23.13)
CIE-LCHlch(50.48, 45.68, 149.58°)
OKLaboklab(55.96% -0.1065 0.0574)
OKLCHoklch(55.96% 0.121 151.7)
XYZxyz(11.4812, 18.8247, 10.4241)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31884F #88316A
analogous
#3F8831 #31884F #31887B
triadic
#31884F #4F3188 #884F31
tetradic
#31884F #313F88 #88316A #887B31
square
#31884F #313F88 #88316A #887B31
split-complementary
#31884F #7B3188 #88313F
monochromatic
#112E1B #215B35 #31884F #41B569 #6AC98B

Accessibility & contrast

On white

4.41
#31884F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#31884F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31884F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31884F#FFFFFF#000000##000000
##31884F1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4B
Deuteranopia (green-blind)
#7D7553
Tritanopia (blue-blind)
#11867A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #31884f;
/* rgb */ color: rgb(49, 136, 79);
/* oklch */ color: oklch(56.0% 0.121 151.7);
Tailwind
colors: {
  custom: {
    50: '#73ab81',
    500: '#31884f',
    950: '#000000',
  },
}
SCSS
$custom: #31884f;
$custom-light: #73ab81;
$custom-dark: #000000;
JSON
{
  "hex": "#31884f",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 79
  },
  "hsl": {
    "h": 140.69,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55964,
    "c": 0.12096,
    "h": 151.7
  },
  "luminance": 0.18826
}

Semantic roles & 50–950 ramp

primary
#31884F
secondary
#B16496
accent
#51A9D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #31884F

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

Preview Lab → · Contrast checker → · Palette generator →

#31884F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva