#31973A#31973A

#31973A is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.161 H 144.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#31973A
RGBrgb(49, 151, 58)
HSLhsl(125, 51%, 39%)
HSVhsv(125, 68%, 59%)
CMYKcmyk(67.5%, 0%, 61.6%, 40.8%)
CIE-LABlab(55.17, -48.50, 39.75)
CIE-LCHlch(55.17, 62.70, 140.66°)
OKLaboklab(59.74% -0.1313 0.0934)
OKLCHoklch(59.74% 0.161 144.6)
XYZxyz(13.0961, 23.0903, 7.7689)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31973A #97318E
analogous
#5B9731 #31973A #31976D
triadic
#31973A #3A3197 #973A31
tetradic
#31973A #315B97 #97318E #976D31
square
#31973A #315B97 #97318E #976D31
split-complementary
#31973A #6D3197 #97315B
monochromatic
#133B17 #226928 #31973A #43C24E #71D17A

Accessibility & contrast

On white

3.74
#31973A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#31973A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31973A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31973A#FFFFFF#000000##000000
##31973A1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8930
Deuteranopia (green-blind)
#8D8142
Tritanopia (blue-blind)
#159383
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #31973a;
/* rgb */ color: rgb(49, 151, 58);
/* oklch */ color: oklch(59.7% 0.161 144.6);
Tailwind
colors: {
  custom: {
    50: '#77b773',
    500: '#31973a',
    950: '#000000',
  },
}
SCSS
$custom: #31973a;
$custom-light: #77b773;
$custom-dark: #000000;
JSON
{
  "hex": "#31973a",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 58
  },
  "hsl": {
    "h": 125.294,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59735,
    "c": 0.16111,
    "h": 144.6
  },
  "luminance": 0.23092
}

Semantic roles & 50–950 ramp

primary
#31973A
secondary
#B96BB2
accent
#4DCEDA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #31973A

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

Preview Lab → · Contrast checker → · Palette generator →

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