#31884E#31884E

#31884E is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.122 H 151.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#31884E
RGBrgb(49, 136, 78)
HSLhsl(140, 47%, 36%)
HSVhsv(140, 64%, 53%)
CMYKcmyk(64%, 0%, 42.6%, 46.7%)
CIE-LABlab(50.46, -39.58, 23.66)
CIE-LCHlch(50.46, 46.11, 149.13°)
OKLaboklab(55.95% -0.107 0.0586)
OKLCHoklch(55.95% 0.122 151.3)
XYZxyz(11.4450, 18.8102, 10.2338)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31884E #88316B
analogous
#408831 #31884E #31887A
triadic
#31884E #4E3188 #884E31
tetradic
#31884E #314088 #88316B #887A31
square
#31884E #314088 #88316B #887A31
split-complementary
#31884E #7A3188 #883140
monochromatic
#112E1A #215B34 #31884E #41B568 #6AC98A

Accessibility & contrast

On white

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

On black

4.76
#31884E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31884E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31884E#FFFFFF#000000##000000
##31884E1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D4A
Deuteranopia (green-blind)
#7D7552
Tritanopia (blue-blind)
#12867A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #31884e;
/* rgb */ color: rgb(49, 136, 78);
/* oklch */ color: oklch(55.9% 0.122 151.3);
Tailwind
colors: {
  custom: {
    50: '#73ab80',
    500: '#31884e',
    950: '#000000',
  },
}
SCSS
$custom: #31884e;
$custom-light: #73ab80;
$custom-dark: #000000;
JSON
{
  "hex": "#31884e",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 78
  },
  "hsl": {
    "h": 140,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55945,
    "c": 0.12196,
    "h": 151.3
  },
  "luminance": 0.18811
}

Semantic roles & 50–950 ramp

primary
#31884E
secondary
#B16497
accent
#51AAD7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #31884E

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

Preview Lab → · Contrast checker → · Palette generator →

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