#31973B#31973B

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

Color values

HEX#31973B
RGBrgb(49, 151, 59)
HSLhsl(126, 51%, 39%)
HSVhsv(126, 68%, 59%)
CMYKcmyk(67.5%, 0%, 60.9%, 40.8%)
CIE-LABlab(55.18, -48.37, 39.29)
CIE-LCHlch(55.18, 62.32, 140.92°)
OKLaboklab(59.75% -0.1309 0.0925)
OKLCHoklch(59.75% 0.16 144.8)
XYZxyz(13.1218, 23.1006, 7.9042)
Luminance0.2310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31973B #97318D
analogous
#5A9731 #31973B #31976E
triadic
#31973B #3B3197 #973B31
tetradic
#31973B #315A97 #97318D #976E31
square
#31973B #315A97 #97318D #976E31
split-complementary
#31973B #6E3197 #97315A
monochromatic
#133B17 #226929 #31973B #43C250 #71D17B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31973B#FFFFFF#000000##000000
##31973B1.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)
#9A8931
Deuteranopia (green-blind)
#8D8142
Tritanopia (blue-blind)
#149383
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #31973b;
/* rgb */ color: rgb(49, 151, 59);
/* oklch */ color: oklch(59.7% 0.160 144.8);
Tailwind
colors: {
  custom: {
    50: '#77b774',
    500: '#31973b',
    950: '#000000',
  },
}
SCSS
$custom: #31973b;
$custom-light: #77b774;
$custom-dark: #000000;
JSON
{
  "hex": "#31973b",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 59
  },
  "hsl": {
    "h": 125.882,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.16028,
    "h": 144.8
  },
  "luminance": 0.23102
}

Semantic roles & 50–950 ramp

primary
#31973B
secondary
#B96BB1
accent
#4DCDDA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #31973B

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

Preview Lab → · Contrast checker → · Palette generator →

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