#31723B#31723B

#31723B is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.5% C 0.109 H 146.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#31723B
RGBrgb(49, 114, 59)
HSLhsl(129, 40%, 32%)
HSVhsv(129, 57%, 45%)
CMYKcmyk(57%, 0%, 48.2%, 55.3%)
CIE-LABlab(42.77, -33.52, 24.29)
CIE-LCHlch(42.77, 41.40, 144.07°)
OKLaboklab(49.52% -0.0908 0.0594)
OKLCHoklch(49.52% 0.109 146.8)
XYZxyz(8.0729, 13.0027, 6.2212)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31723B #723168
analogous
#487231 #31723B #31725C
triadic
#31723B #3B3172 #723B31
tetradic
#31723B #314872 #723168 #725C31
square
#31723B #314872 #723168 #725C31
split-complementary
#31723B #5C3172 #723148
monochromatic
#0C1C0F #1F4725 #31723B #439D51 #62BB70

Accessibility & contrast

On white

5.83
#31723B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#31723B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31723B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31723B#FFFFFF#000000##FFFFFF
##31723B1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736937
Deuteranopia (green-blind)
#6B633F
Tritanopia (blue-blind)
#247065
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #31723b;
/* rgb */ color: rgb(49, 114, 59);
/* oklch */ color: oklch(49.5% 0.109 146.8);
Tailwind
colors: {
  custom: {
    50: '#6f9b72',
    500: '#31723b',
    950: '#000000',
  },
}
SCSS
$custom: #31723b;
$custom-light: #6f9b72;
$custom-dark: #000000;
JSON
{
  "hex": "#31723b",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 59
  },
  "hsl": {
    "h": 129.231,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4952,
    "c": 0.10851,
    "h": 146.8
  },
  "luminance": 0.13003
}

Semantic roles & 50–950 ramp

primary
#31723B
secondary
#A35C98
accent
#58BDD0
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #31723B

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

Preview Lab → · Contrast checker → · Palette generator →

#31723B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva