#31671E#31671E

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

Color values

HEX#31671E
RGBrgb(49, 103, 30)
HSLhsl(104, 55%, 26%)
HSVhsv(104, 71%, 40%)
CMYKcmyk(52.4%, 0%, 70.9%, 59.6%)
CIE-LABlab(38.63, -32.59, 34.40)
CIE-LCHlch(38.63, 47.39, 133.45°)
OKLaboklab(46.01% -0.0898 0.0789)
OKLCHoklch(46.01% 0.12 138.7)
XYZxyz(6.3510, 10.4467, 2.9098)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31671E #541E67
analogous
#55671E #31671E #1E672F
triadic
#31671E #1E3167 #671E31
tetradic
#31671E #1E5567 #541E67 #672F1E
square
#31671E #1E5567 #541E67 #672F1E
split-complementary
#31671E #2F1E67 #671E55
monochromatic
#0B1807 #1A3810 #31671E #48962C #5EC63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31671E#FFFFFF#000000##FFFFFF
##31671E1.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)
#6A5E14
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#2D6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #31671e;
/* rgb */ color: rgb(49, 103, 30);
/* oklch */ color: oklch(46.0% 0.120 138.7);
Tailwind
colors: {
  custom: {
    50: '#6f935e',
    500: '#31671e',
    950: '#000000',
  },
}
SCSS
$custom: #31671e;
$custom-light: #6f935e;
$custom-dark: #000000;
JSON
{
  "hex": "#31671e",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 104.384,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46007,
    "c": 0.11953,
    "h": 138.7
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#31671E
secondary
#85459C
accent
#4ADEB8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #31671E

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

Preview Lab → · Contrast checker → · Palette generator →

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