#31691C#31691C

#31691C is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.6% C 0.124 H 138.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#31691C
RGBrgb(49, 105, 28)
HSLhsl(104, 58%, 26%)
HSVhsv(104, 73%, 41%)
CMYKcmyk(53.3%, 0%, 73.3%, 58.8%)
CIE-LABlab(39.31, -33.64, 36.00)
CIE-LCHlch(39.31, 49.27, 133.06°)
OKLaboklab(46.56% -0.0928 0.082)
OKLCHoklch(46.56% 0.124 138.5)
XYZxyz(6.5276, 10.8395, 2.8466)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31691C #541C69
analogous
#57691C #31691C #1C692D
triadic
#31691C #1C3169 #691C31
tetradic
#31691C #1C5769 #541C69 #692D1C
square
#31691C #1C5769 #541C69 #692D1C
split-complementary
#31691C #2D1C69 #691C57
monochromatic
#0B1806 #1A390F #31691C #489929 #5EC936

Accessibility & contrast

On white

6.63
#31691C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#31691C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31691C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31691C#FFFFFF#000000##FFFFFF
##31691C1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6010
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#2C655A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #31691c;
/* rgb */ color: rgb(49, 105, 28);
/* oklch */ color: oklch(46.6% 0.124 138.5);
Tailwind
colors: {
  custom: {
    50: '#6f945d',
    500: '#31691c',
    950: '#000000',
  },
}
SCSS
$custom: #31691c;
$custom-light: #6f945d;
$custom-dark: #000000;
JSON
{
  "hex": "#31691c",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 28
  },
  "hsl": {
    "h": 103.636,
    "s": 57.895,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46558,
    "c": 0.12381,
    "h": 138.5
  },
  "luminance": 0.1084
}

Semantic roles & 50–950 ramp

primary
#31691C
secondary
#85439E
accent
#47E1B7
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #31691C

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

Preview Lab → · Contrast checker → · Palette generator →

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