#31974B#31974B

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

Color values

HEX#31974B
RGBrgb(49, 151, 75)
HSLhsl(135, 51%, 39%)
HSVhsv(135, 68%, 59%)
CMYKcmyk(67.5%, 0%, 50.3%, 40.8%)
CIE-LABlab(55.37, -46.11, 31.53)
CIE-LCHlch(55.37, 55.86, 145.63°)
OKLaboklab(59.97% -0.1243 0.0765)
OKLCHoklch(59.97% 0.146 148.4)
XYZxyz(13.6022, 23.2928, 10.4344)
Luminance0.2329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31974B #97317D
analogous
#4A9731 #31974B #31977E
triadic
#31974B #4B3197 #974B31
tetradic
#31974B #314A97 #97317D #977E31
square
#31974B #314A97 #97317D #977E31
split-complementary
#31974B #7E3197 #97314A
monochromatic
#133B1D #226934 #31974B #43C264 #71D18A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31974B#FFFFFF#000000##000000
##31974B1.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)
#988A45
Deuteranopia (green-blind)
#8C8150
Tritanopia (blue-blind)
#079485
Achromatopsia (no color)
#858585

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#31974B
secondary
#B96BA5
accent
#4DB6DA
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #31974B

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

Preview Lab → · Contrast checker → · Palette generator →

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