#31723D#31723D

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

Color values

HEX#31723D
RGBrgb(49, 114, 61)
HSLhsl(131, 40%, 32%)
HSVhsv(131, 57%, 45%)
CMYKcmyk(57%, 0%, 46.5%, 55.3%)
CIE-LABlab(42.80, -33.18, 23.21)
CIE-LCHlch(42.80, 40.49, 145.02°)
OKLaboklab(49.56% -0.0899 0.057)
OKLCHoklch(49.56% 0.106 147.6)
XYZxyz(8.1257, 13.0238, 6.4996)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31723D #723166
analogous
#467231 #31723D #31725E
triadic
#31723D #3D3172 #723D31
tetradic
#31723D #314672 #723166 #725E31
square
#31723D #314672 #723166 #725E31
split-complementary
#31723D #5E3172 #723146
monochromatic
#0C1C0F #1F4726 #31723D #439D54 #62BB72

Accessibility & contrast

On white

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

On black

3.61
#31723D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##31723D#FFFFFF#000000##FFFFFF
##31723D1.005.833.615.83
#FFFFFF5.831.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31723d;
/* rgb */ color: rgb(49, 114, 61);
/* oklch */ color: oklch(49.6% 0.106 147.6);
Tailwind
colors: {
  custom: {
    50: '#6f9b73',
    500: '#31723d',
    950: '#000000',
  },
}
SCSS
$custom: #31723d;
$custom-light: #6f9b73;
$custom-dark: #000000;
JSON
{
  "hex": "#31723d",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 61
  },
  "hsl": {
    "h": 131.077,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49556,
    "c": 0.10642,
    "h": 147.6
  },
  "luminance": 0.13025
}

Semantic roles & 50–950 ramp

primary
#31723D
secondary
#A35C96
accent
#58BAD0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #31723D

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

Preview Lab → · Contrast checker → · Palette generator →

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