#31974E#31974E

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

Color values

HEX#31974E
RGBrgb(49, 151, 78)
HSLhsl(137, 51%, 39%)
HSVhsv(137, 68%, 59%)
CMYKcmyk(67.5%, 0%, 48.3%, 40.8%)
CIE-LABlab(55.42, -45.62, 30.02)
CIE-LCHlch(55.42, 54.61, 146.66°)
OKLaboklab(60.02% -0.123 0.0733)
OKLCHoklch(60.02% 0.143 149.2)
XYZxyz(13.7073, 23.3348, 10.9879)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31974E #97317A
analogous
#479731 #31974E #319781
triadic
#31974E #4E3197 #974E31
tetradic
#31974E #314797 #97317A #978131
square
#31974E #314797 #97317A #978131
split-complementary
#31974E #813197 #973147
monochromatic
#133B1E #226936 #31974E #43C267 #71D18D

Accessibility & contrast

On white

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

On black

5.67
#31974E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31974E
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31974E#FFFFFF#000000##000000
##31974E1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A48
Deuteranopia (green-blind)
#8C8153
Tritanopia (blue-blind)
#049486
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31974e;
/* rgb */ color: rgb(49, 151, 78);
/* oklch */ color: oklch(60.0% 0.143 149.2);
Tailwind
colors: {
  custom: {
    50: '#76b681',
    500: '#31974e',
    950: '#000000',
  },
}
SCSS
$custom: #31974e;
$custom-light: #76b681;
$custom-dark: #000000;
JSON
{
  "hex": "#31974e",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 78
  },
  "hsl": {
    "h": 137.059,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60023,
    "c": 0.14316,
    "h": 149.2
  },
  "luminance": 0.23336
}

Semantic roles & 50–950 ramp

primary
#31974E
secondary
#B96BA3
accent
#4DB2DA
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #31974E

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

Preview Lab → · Contrast checker → · Palette generator →

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