#31723A#31723A

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

Color values

HEX#31723A
RGBrgb(49, 114, 58)
HSLhsl(128, 40%, 32%)
HSVhsv(128, 57%, 45%)
CMYKcmyk(57%, 0%, 49.1%, 55.3%)
CIE-LABlab(42.75, -33.69, 24.83)
CIE-LCHlch(42.75, 41.85, 143.61°)
OKLaboklab(49.5% -0.0913 0.0605)
OKLCHoklch(49.5% 0.11 146.5)
XYZxyz(8.0472, 12.9924, 6.0859)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31723A #723169
analogous
#497231 #31723A #31725B
triadic
#31723A #3A3172 #723A31
tetradic
#31723A #314972 #723169 #725B31
square
#31723A #314972 #723169 #725B31
split-complementary
#31723A #5B3172 #723149
monochromatic
#0C1C0E #1F4724 #31723A #439D50 #62BB6E

Accessibility & contrast

On white

5.84
#31723A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #31723A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31723A#FFFFFF#000000##FFFFFF
##31723A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746936
Deuteranopia (green-blind)
#6B633E
Tritanopia (blue-blind)
#256F65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #31723a;
/* rgb */ color: rgb(49, 114, 58);
/* oklch */ color: oklch(49.5% 0.110 146.5);
Tailwind
colors: {
  custom: {
    50: '#6f9b71',
    500: '#31723a',
    950: '#000000',
  },
}
SCSS
$custom: #31723a;
$custom-light: #6f9b71;
$custom-dark: #000000;
JSON
{
  "hex": "#31723a",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 58
  },
  "hsl": {
    "h": 128.308,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49502,
    "c": 0.10953,
    "h": 146.5
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#31723A
secondary
#A35C99
accent
#58BFD0
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #31723A

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

Preview Lab → · Contrast checker → · Palette generator →

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