#31671D#31671D

#31671D is a mid, vivid green. Relative luminance 0.104; OKLCH L 46.0% C 0.120 H 138.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#31671D
RGBrgb(49, 103, 29)
HSLhsl(104, 56%, 26%)
HSVhsv(104, 72%, 40%)
CMYKcmyk(52.4%, 0%, 71.8%, 59.6%)
CIE-LABlab(38.62, -32.69, 34.84)
CIE-LCHlch(38.62, 47.77, 133.17°)
OKLaboklab(46% -0.0901 0.0797)
OKLCHoklch(46% 0.12 138.5)
XYZxyz(6.3384, 10.4417, 2.8436)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31671D #531D67
analogous
#56671D #31671D #1D672E
triadic
#31671D #1D3167 #671D31
tetradic
#31671D #1D5667 #531D67 #672E1D
square
#31671D #1D5667 #531D67 #672E1D
split-complementary
#31671D #2E1D67 #671D56
monochromatic
#0B1807 #1A3710 #31671D #48972A #5EC738

Accessibility & contrast

On white

6.80
#31671D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#31671D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31671D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31671D#FFFFFF#000000##FFFFFF
##31671D1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E13
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#2D6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #31671d;
/* rgb */ color: rgb(49, 103, 29);
/* oklch */ color: oklch(46.0% 0.120 138.5);
Tailwind
colors: {
  custom: {
    50: '#6f935d',
    500: '#31671d',
    950: '#000000',
  },
}
SCSS
$custom: #31671d;
$custom-light: #6f935d;
$custom-dark: #000000;
JSON
{
  "hex": "#31671d",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 103.784,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.12031,
    "h": 138.5
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#31671D
secondary
#84449C
accent
#48DFB7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #31671D

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

Preview Lab → · Contrast checker → · Palette generator →

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