#31931D#31931D

#31931D is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.4% C 0.176 H 140.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#31931D
RGBrgb(49, 147, 29)
HSLhsl(110, 67%, 35%)
HSVhsv(110, 80%, 58%)
CMYKcmyk(66.7%, 0%, 80.3%, 42.4%)
CIE-LABlab(53.61, -49.75, 49.83)
CIE-LCHlch(53.61, 70.42, 134.95°)
OKLaboklab(58.37% -0.1362 0.1111)
OKLCHoklch(58.37% 0.176 140.8)
XYZxyz(11.9215, 21.6079, 4.7046)
Luminance0.2161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31931D #7F1D93
analogous
#6C931D #31931D #1D9344
triadic
#31931D #1D3193 #931D31
tetradic
#31931D #1D6C93 #7F1D93 #93441D
square
#31931D #1D6C93 #7F1D93 #93441D
split-complementary
#31931D #441D93 #931D6C
monochromatic
#0F2D09 #206013 #31931D #42C627 #66DC4E

Accessibility & contrast

On white

3.95
#31931D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#31931D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31931D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31931D#FFFFFF#000000##000000
##31931D1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#1F8E7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #31931d;
/* rgb */ color: rgb(49, 147, 29);
/* oklch */ color: oklch(58.4% 0.176 140.8);
Tailwind
colors: {
  custom: {
    50: '#77b463',
    500: '#31931d',
    950: '#000000',
  },
}
SCSS
$custom: #31931d;
$custom-light: #77b463;
$custom-dark: #000000;
JSON
{
  "hex": "#31931d",
  "rgb": {
    "r": 49,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 109.831,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58373,
    "c": 0.1757,
    "h": 140.8
  },
  "luminance": 0.21609
}

Semantic roles & 50–950 ramp

primary
#31931D
secondary
#AB4DBF
accent
#3EEACD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31931D

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

Preview Lab → · Contrast checker → · Palette generator →

#31931D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva