#31671C#31671C

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

Color values

HEX#31671C
RGBrgb(49, 103, 28)
HSLhsl(103, 57%, 26%)
HSVhsv(103, 73%, 40%)
CMYKcmyk(52.4%, 0%, 72.8%, 59.6%)
CIE-LABlab(38.62, -32.78, 35.28)
CIE-LCHlch(38.62, 48.16, 132.90°)
OKLaboklab(45.99% -0.0904 0.0805)
OKLCHoklch(45.99% 0.121 138.3)
XYZxyz(6.3262, 10.4369, 2.7795)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31671C #521C67
analogous
#56671C #31671C #1C672C
triadic
#31671C #1C3167 #671C31
tetradic
#31671C #1C5667 #521C67 #672C1C
square
#31671C #1C5667 #521C67 #672C1C
split-complementary
#31671C #2C1C67 #671C56
monochromatic
#0B1807 #1A370F #31671C #489729 #5FC736

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31671C#FFFFFF#000000##FFFFFF
##31671C1.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)
#6A5E11
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#2D6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #31671c;
/* rgb */ color: rgb(49, 103, 28);
/* oklch */ color: oklch(46.0% 0.121 138.3);
Tailwind
colors: {
  custom: {
    50: '#6f935d',
    500: '#31671c',
    950: '#000000',
  },
}
SCSS
$custom: #31671c;
$custom-light: #6f935d;
$custom-dark: #000000;
JSON
{
  "hex": "#31671c",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 103.2,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45988,
    "c": 0.12106,
    "h": 138.3
  },
  "luminance": 0.10437
}

Semantic roles & 50–950 ramp

primary
#31671C
secondary
#83439C
accent
#47E1B6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #31671C

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

Preview Lab → · Contrast checker → · Palette generator →

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