#31772E#31772E

#31772E is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.7% C 0.128 H 142.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#31772E
RGBrgb(49, 119, 46)
HSLhsl(118, 44%, 32%)
HSVhsv(118, 61%, 47%)
CMYKcmyk(58.8%, 0%, 61.3%, 53.3%)
CIE-LABlab(44.29, -37.56, 33.04)
CIE-LCHlch(44.29, 50.03, 138.67°)
OKLaboklab(50.72% -0.1022 0.0778)
OKLCHoklch(50.72% 0.128 142.7)
XYZxyz(8.3562, 14.0432, 4.8545)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31772E #742E77
analogous
#56772E #31772E #2E774F
triadic
#31772E #2E3177 #772E31
tetradic
#31772E #2E5677 #742E77 #774F2E
square
#31772E #2E5677 #742E77 #774F2E
split-complementary
#31772E #4F2E77 #772E56
monochromatic
#0D1F0C #1F4B1D #31772E #43A33F #63C15E

Accessibility & contrast

On white

5.51
#31772E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#31772E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31772E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31772E#FFFFFF#000000##FFFFFF
##31772E1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C26
Deuteranopia (green-blind)
#716634
Tritanopia (blue-blind)
#267467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #31772e;
/* rgb */ color: rgb(49, 119, 46);
/* oklch */ color: oklch(50.7% 0.128 142.7);
Tailwind
colors: {
  custom: {
    50: '#719f69',
    500: '#31772e',
    950: '#000000',
  },
}
SCSS
$custom: #31772e;
$custom-light: #719f69;
$custom-dark: #000000;
JSON
{
  "hex": "#31772e",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 46
  },
  "hsl": {
    "h": 117.534,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.12849,
    "h": 142.7
  },
  "luminance": 0.14044
}

Semantic roles & 50–950 ramp

primary
#31772E
secondary
#A459A8
accent
#54D4CF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #31772E

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

Preview Lab → · Contrast checker → · Palette generator →

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