#31741D#31741D

#31741D is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.138 H 139.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#31741D
RGBrgb(49, 116, 29)
HSLhsl(106, 60%, 28%)
HSVhsv(106, 75%, 45%)
CMYKcmyk(57.8%, 0%, 75%, 54.5%)
CIE-LABlab(43.11, -38.12, 39.50)
CIE-LCHlch(43.11, 54.90, 133.98°)
OKLaboklab(49.69% -0.1048 0.0895)
OKLCHoklch(49.69% 0.138 139.5)
XYZxyz(7.7335, 13.2318, 3.3086)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31741D #601D74
analogous
#5C741D #31741D #1D7434
triadic
#31741D #1D3174 #741D31
tetradic
#31741D #1D5C74 #601D74 #74341D
square
#31741D #1D5C74 #601D74 #74341D
split-complementary
#31741D #341D74 #741D5C
monochromatic
#0A1806 #1C4311 #31741D #46A529 #5ECE3D

Accessibility & contrast

On white

5.76
#31741D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#31741D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31741D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31741D#FFFFFF#000000##FFFFFF
##31741D1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690E
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#2A7063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #31741d;
/* rgb */ color: rgb(49, 116, 29);
/* oklch */ color: oklch(49.7% 0.138 139.5);
Tailwind
colors: {
  custom: {
    50: '#719d5f',
    500: '#31741d',
    950: '#000000',
  },
}
SCSS
$custom: #31741d;
$custom-light: #719d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#31741d",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 106.207,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49692,
    "c": 0.13781,
    "h": 139.5
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#31741D
secondary
#9145A8
accent
#45E3BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #31741D

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

Preview Lab → · Contrast checker → · Palette generator →

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