#31724E#31724E

#31724E is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.9% C 0.089 H 156.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#31724E
RGBrgb(49, 114, 78)
HSLhsl(147, 40%, 32%)
HSVhsv(147, 57%, 45%)
CMYKcmyk(57%, 0%, 31.6%, 55.3%)
CIE-LABlab(43.12, -29.84, 13.83)
CIE-LCHlch(43.12, 32.89, 155.13°)
OKLaboklab(49.92% -0.0815 0.0351)
OKLCHoklch(49.92% 0.089 156.7)
XYZxyz(8.6584, 13.2369, 9.3049)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31724E #723155
analogous
#357231 #31724E #31726F
triadic
#31724E #4E3172 #724E31
tetradic
#31724E #313572 #723155 #726F31
square
#31724E #313572 #723155 #726F31
split-complementary
#31724E #6F3172 #723135
monochromatic
#0C1C13 #1F4731 #31724E #439D6B #62BB8A

Accessibility & contrast

On white

5.76
#31724E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#31724E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31724E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31724E#FFFFFF#000000##FFFFFF
##31724E1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716A4C
Deuteranopia (green-blind)
#686350
Tritanopia (blue-blind)
#1D7168
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #31724e;
/* rgb */ color: rgb(49, 114, 78);
/* oklch */ color: oklch(49.9% 0.089 156.7);
Tailwind
colors: {
  custom: {
    50: '#6f9b7f',
    500: '#31724e',
    950: '#000000',
  },
}
SCSS
$custom: #31724e;
$custom-light: #6f9b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#31724e",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 78
  },
  "hsl": {
    "h": 146.769,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49922,
    "c": 0.08871,
    "h": 156.7
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#31724E
secondary
#A35C83
accent
#589AD0
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #31724E

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

Preview Lab → · Contrast checker → · Palette generator →

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