#31982B#31982B

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

Color values

HEX#31982B
RGBrgb(49, 152, 43)
HSLhsl(117, 56%, 38%)
HSVhsv(117, 72%, 60%)
CMYKcmyk(67.8%, 0%, 71.7%, 40.4%)
CIE-LABlab(55.36, -50.44, 46.52)
CIE-LCHlch(55.36, 68.62, 137.32°)
OKLaboklab(59.85% -0.1373 0.1061)
OKLCHoklch(59.85% 0.173 142.3)
XYZxyz(12.9302, 23.2825, 6.0976)
Luminance0.2328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31982B #922B98
analogous
#67982B #31982B #2B985B
triadic
#31982B #2B3198 #982B31
tetradic
#31982B #2B6798 #922B98 #985B2B
square
#31982B #2B6798 #922B98 #985B2B
split-complementary
#31982B #5B2B98 #982B67
monochromatic
#123910 #22681E #31982B #41C739 #6FD569

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31982B#FFFFFF#000000##000000
##31982B1.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)
#9C8A1A
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#1A9382
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31982b;
/* rgb */ color: rgb(49, 152, 43);
/* oklch */ color: oklch(59.9% 0.173 142.3);
Tailwind
colors: {
  custom: {
    50: '#78b76b',
    500: '#31982b',
    950: '#000000',
  },
}
SCSS
$custom: #31982b;
$custom-light: #78b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#31982b",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 116.697,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59854,
    "c": 0.17349,
    "h": 142.3
  },
  "luminance": 0.23284
}

Semantic roles & 50–950 ramp

primary
#31982B
secondary
#B664BB
accent
#49DFD7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #31982B

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

Preview Lab → · Contrast checker → · Palette generator →

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