#31723C#31723C

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

Color values

HEX#31723C
RGBrgb(49, 114, 60)
HSLhsl(130, 40%, 32%)
HSVhsv(130, 57%, 45%)
CMYKcmyk(57%, 0%, 47.4%, 55.3%)
CIE-LABlab(42.78, -33.35, 23.75)
CIE-LCHlch(42.78, 40.95, 144.54°)
OKLaboklab(49.54% -0.0904 0.0582)
OKLCHoklch(49.54% 0.107 147.2)
XYZxyz(8.0990, 13.0131, 6.3591)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31723C #723167
analogous
#477231 #31723C #31725D
triadic
#31723C #3C3172 #723C31
tetradic
#31723C #314772 #723167 #725D31
square
#31723C #314772 #723167 #725D31
split-complementary
#31723C #5D3172 #723147
monochromatic
#0C1C0F #1F4725 #31723C #439D53 #62BB71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31723C#FFFFFF#000000##FFFFFF
##31723C1.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)
#736938
Deuteranopia (green-blind)
#6B6340
Tritanopia (blue-blind)
#247065
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #31723c;
/* rgb */ color: rgb(49, 114, 60);
/* oklch */ color: oklch(49.5% 0.107 147.2);
Tailwind
colors: {
  custom: {
    50: '#6f9b72',
    500: '#31723c',
    950: '#000000',
  },
}
SCSS
$custom: #31723c;
$custom-light: #6f9b72;
$custom-dark: #000000;
JSON
{
  "hex": "#31723c",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 60
  },
  "hsl": {
    "h": 130.154,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49538,
    "c": 0.10747,
    "h": 147.2
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#31723C
secondary
#A35C97
accent
#58BBD0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #31723C

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

Preview Lab → · Contrast checker → · Palette generator →

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