#31724A#31724A

#31724A is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.8% C 0.093 H 154.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#31724A
RGBrgb(49, 114, 74)
HSLhsl(143, 40%, 32%)
HSVhsv(143, 57%, 45%)
CMYKcmyk(57%, 0%, 35.1%, 55.3%)
CIE-LABlab(43.04, -30.70, 16.07)
CIE-LCHlch(43.04, 34.65, 152.37°)
OKLaboklab(49.83% -0.0835 0.0405)
OKLCHoklch(49.83% 0.093 154.1)
XYZxyz(8.5193, 13.1813, 8.5725)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31724A #723159
analogous
#397231 #31724A #31726B
triadic
#31724A #4A3172 #724A31
tetradic
#31724A #313972 #723159 #726B31
square
#31724A #313972 #723159 #726B31
split-complementary
#31724A #6B3172 #723139
monochromatic
#0C1C12 #1F472E #31724A #439D66 #62BB84

Accessibility & contrast

On white

5.77
#31724A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#31724A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31724A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31724A#FFFFFF#000000##FFFFFF
##31724A1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726947
Deuteranopia (green-blind)
#69634C
Tritanopia (blue-blind)
#1F7168
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #31724a;
/* rgb */ color: rgb(49, 114, 74);
/* oklch */ color: oklch(49.8% 0.093 154.1);
Tailwind
colors: {
  custom: {
    50: '#6f9b7c',
    500: '#31724a',
    950: '#000000',
  },
}
SCSS
$custom: #31724a;
$custom-light: #6f9b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#31724a",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 74
  },
  "hsl": {
    "h": 143.077,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49827,
    "c": 0.09279,
    "h": 154.1
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#31724A
secondary
#A35C88
accent
#58A2D0
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #31724A

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

Preview Lab → · Contrast checker → · Palette generator →

#31724A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva