#31691B#31691B

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

Color values

HEX#31691B
RGBrgb(49, 105, 27)
HSLhsl(103, 59%, 26%)
HSVhsv(103, 74%, 41%)
CMYKcmyk(53.3%, 0%, 74.3%, 58.8%)
CIE-LABlab(39.30, -33.73, 36.42)
CIE-LCHlch(39.30, 49.64, 132.80°)
OKLaboklab(46.55% -0.0931 0.0827)
OKLCHoklch(46.55% 0.125 138.4)
XYZxyz(6.5158, 10.8348, 2.7847)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31691B #531B69
analogous
#58691B #31691B #1B692C
triadic
#31691B #1B3169 #691B31
tetradic
#31691B #1B5869 #531B69 #692C1B
square
#31691B #1B5869 #531B69 #692C1B
split-complementary
#31691B #2C1B69 #691B58
monochromatic
#0B1806 #1A380E #31691B #489A28 #5ECA34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31691B#FFFFFF#000000##FFFFFF
##31691B1.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)
#6C5F0F
Deuteranopia (green-blind)
#655B22
Tritanopia (blue-blind)
#2D655A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #31691b;
/* rgb */ color: rgb(49, 105, 27);
/* oklch */ color: oklch(46.5% 0.125 138.4);
Tailwind
colors: {
  custom: {
    50: '#6f945c',
    500: '#31691b',
    950: '#000000',
  },
}
SCSS
$custom: #31691b;
$custom-light: #6f945c;
$custom-dark: #000000;
JSON
{
  "hex": "#31691b",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 27
  },
  "hsl": {
    "h": 103.077,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46549,
    "c": 0.12454,
    "h": 138.4
  },
  "luminance": 0.10835
}

Semantic roles & 50–950 ramp

primary
#31691B
secondary
#84429E
accent
#46E2B6
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #31691B

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

Preview Lab → · Contrast checker → · Palette generator →

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