#31974C#31974C

#31974C is a mid, vivid green. Relative luminance 0.233; OKLCH L 60.0% C 0.145 H 148.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#31974C
RGBrgb(49, 151, 76)
HSLhsl(136, 51%, 39%)
HSVhsv(136, 68%, 59%)
CMYKcmyk(67.5%, 0%, 49.7%, 40.8%)
CIE-LABlab(55.39, -45.95, 31.03)
CIE-LCHlch(55.39, 55.44, 145.97°)
OKLaboklab(59.99% -0.1239 0.0755)
OKLCHoklch(59.99% 0.145 148.7)
XYZxyz(13.6367, 23.3066, 10.6160)
Luminance0.2331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31974C #97317C
analogous
#499731 #31974C #31977F
triadic
#31974C #4C3197 #974C31
tetradic
#31974C #314997 #97317C #977F31
square
#31974C #314997 #97317C #977F31
split-complementary
#31974C #7F3197 #973149
monochromatic
#133B1D #226935 #31974C #43C265 #71D18B

Accessibility & contrast

On white

3.71
#31974C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#31974C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31974C
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31974C#FFFFFF#000000##000000
##31974C1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A46
Deuteranopia (green-blind)
#8C8151
Tritanopia (blue-blind)
#069485
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31974c;
/* rgb */ color: rgb(49, 151, 76);
/* oklch */ color: oklch(60.0% 0.145 148.7);
Tailwind
colors: {
  custom: {
    50: '#76b67f',
    500: '#31974c',
    950: '#000000',
  },
}
SCSS
$custom: #31974c;
$custom-light: #76b67f;
$custom-dark: #000000;
JSON
{
  "hex": "#31974c",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 76
  },
  "hsl": {
    "h": 135.882,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59989,
    "c": 0.14506,
    "h": 148.7
  },
  "luminance": 0.23308
}

Semantic roles & 50–950 ramp

primary
#31974C
secondary
#B96BA4
accent
#4DB5DA
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #31974C

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

Preview Lab → · Contrast checker → · Palette generator →

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