#31982E#31982E

#31982E is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.9% C 0.171 H 142.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#31982E
RGBrgb(49, 152, 46)
HSLhsl(118, 54%, 39%)
HSVhsv(118, 70%, 60%)
CMYKcmyk(67.8%, 0%, 69.7%, 40.4%)
CIE-LABlab(55.39, -50.16, 45.32)
CIE-LCHlch(55.39, 67.61, 137.90°)
OKLaboklab(59.88% -0.1364 0.1039)
OKLCHoklch(59.88% 0.171 142.7)
XYZxyz(12.9873, 23.3054, 6.3982)
Luminance0.2331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31982E #952E98
analogous
#66982E #31982E #2E9860
triadic
#31982E #2E3198 #982E31
tetradic
#31982E #2E6698 #952E98 #98602E
square
#31982E #2E6698 #952E98 #98602E
split-complementary
#31982E #602E98 #982E66
monochromatic
#133A12 #226920 #31982E #42C53E #70D36D

Accessibility & contrast

On white

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

On black

5.66
#31982E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31982E
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31982E#FFFFFF#000000##000000
##31982E1.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)
#9B8A1F
Deuteranopia (green-blind)
#8F8138
Tritanopia (blue-blind)
#199383
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31982e;
/* rgb */ color: rgb(49, 152, 46);
/* oklch */ color: oklch(59.9% 0.171 142.7);
Tailwind
colors: {
  custom: {
    50: '#77b76c',
    500: '#31982e',
    950: '#000000',
  },
}
SCSS
$custom: #31982e;
$custom-light: #77b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#31982e",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 118.302,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59881,
    "c": 0.17147,
    "h": 142.7
  },
  "luminance": 0.23307
}

Semantic roles & 50–950 ramp

primary
#31982E
secondary
#B868BA
accent
#4BDDD9
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #31982E

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

Preview Lab → · Contrast checker → · Palette generator →

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