#31691F#31691F

#31691F is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.6% C 0.122 H 139.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#31691F
RGBrgb(49, 105, 31)
HSLhsl(105, 54%, 27%)
HSVhsv(105, 70%, 41%)
CMYKcmyk(53.3%, 0%, 70.5%, 58.8%)
CIE-LABlab(39.33, -33.36, 34.70)
CIE-LCHlch(39.33, 48.13, 133.87°)
OKLaboklab(46.59% -0.0918 0.0797)
OKLCHoklch(46.59% 0.122 139)
XYZxyz(6.5653, 10.8546, 3.0452)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31691F #571F69
analogous
#56691F #31691F #1F6932
triadic
#31691F #1F3169 #691F31
tetradic
#31691F #1F5669 #571F69 #69321F
square
#31691F #1F5669 #571F69 #69321F
split-complementary
#31691F #321F69 #691F56
monochromatic
#0B1807 #1B3A11 #31691F #47982D #5EC63D

Accessibility & contrast

On white

6.62
#31691F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #31691F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31691F#FFFFFF#000000##FFFFFF
##31691F1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31691f;
/* rgb */ color: rgb(49, 105, 31);
/* oklch */ color: oklch(46.6% 0.122 139.0);
Tailwind
colors: {
  custom: {
    50: '#6f945f',
    500: '#31691f',
    950: '#000000',
  },
}
SCSS
$custom: #31691f;
$custom-light: #6f945f;
$custom-dark: #000000;
JSON
{
  "hex": "#31691f",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 31
  },
  "hsl": {
    "h": 105.405,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46587,
    "c": 0.12154,
    "h": 139
  },
  "luminance": 0.10855
}

Semantic roles & 50–950 ramp

primary
#31691F
secondary
#88479D
accent
#4ADEBA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #31691F

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

Preview Lab → · Contrast checker → · Palette generator →

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