#31723F#31723F

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

Color values

HEX#31723F
RGBrgb(49, 114, 63)
HSLhsl(133, 40%, 32%)
HSVhsv(133, 57%, 45%)
CMYKcmyk(57%, 0%, 44.7%, 55.3%)
CIE-LABlab(42.83, -32.83, 22.13)
CIE-LCHlch(42.83, 39.59, 146.02°)
OKLaboklab(49.59% -0.0889 0.0546)
OKLCHoklch(49.59% 0.104 148.5)
XYZxyz(8.1806, 13.0458, 6.7887)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31723F #723164
analogous
#447231 #31723F #317260
triadic
#31723F #3F3172 #723F31
tetradic
#31723F #314472 #723164 #726031
square
#31723F #314472 #723164 #726031
split-complementary
#31723F #603172 #723144
monochromatic
#0C1C10 #1F4727 #31723F #439D57 #62BB75

Accessibility & contrast

On white

5.82
#31723F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #31723F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31723F#FFFFFF#000000##FFFFFF
##31723F1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693B
Deuteranopia (green-blind)
#6A6342
Tritanopia (blue-blind)
#237066
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #31723f;
/* rgb */ color: rgb(49, 114, 63);
/* oklch */ color: oklch(49.6% 0.104 148.5);
Tailwind
colors: {
  custom: {
    50: '#6f9b75',
    500: '#31723f',
    950: '#000000',
  },
}
SCSS
$custom: #31723f;
$custom-light: #6f9b75;
$custom-dark: #000000;
JSON
{
  "hex": "#31723f",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 63
  },
  "hsl": {
    "h": 132.923,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49594,
    "c": 0.10433,
    "h": 148.5
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#31723F
secondary
#A35C94
accent
#58B6D0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #31723F

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

Preview Lab → · Contrast checker → · Palette generator →

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