#31982F#31982F

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

Color values

HEX#31982F
RGBrgb(49, 152, 47)
HSLhsl(119, 53%, 39%)
HSVhsv(119, 69%, 60%)
CMYKcmyk(67.8%, 0%, 69.1%, 40.4%)
CIE-LABlab(55.39, -50.07, 44.91)
CIE-LCHlch(55.39, 67.26, 138.11°)
OKLaboklab(59.89% -0.1361 0.1032)
OKLCHoklch(59.89% 0.171 142.8)
XYZxyz(13.0072, 23.3133, 6.5032)
Luminance0.2331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31982F #962F98
analogous
#66982F #31982F #2F9862
triadic
#31982F #2F3198 #982F31
tetradic
#31982F #2F6698 #962F98 #98622F
square
#31982F #2F6698 #962F98 #98622F
split-complementary
#31982F #622F98 #982F66
monochromatic
#133B12 #226921 #31982F #43C440 #71D26F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31982F#FFFFFF#000000##000000
##31982F1.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)
#9B8A20
Deuteranopia (green-blind)
#8F8139
Tritanopia (blue-blind)
#189483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31982f;
/* rgb */ color: rgb(49, 152, 47);
/* oklch */ color: oklch(59.9% 0.171 142.8);
Tailwind
colors: {
  custom: {
    50: '#77b76d',
    500: '#31982f',
    950: '#000000',
  },
}
SCSS
$custom: #31982f;
$custom-light: #77b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#31982f",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 118.857,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59891,
    "c": 0.17077,
    "h": 142.8
  },
  "luminance": 0.23315
}

Semantic roles & 50–950 ramp

primary
#31982F
secondary
#B869BA
accent
#4CDCD9
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #31982F

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

Preview Lab → · Contrast checker → · Palette generator →

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