#316B17#316B17

#316B17 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.1% C 0.130 H 138.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#316B17
RGBrgb(49, 107, 23)
HSLhsl(101, 65%, 25%)
HSVhsv(101, 79%, 42%)
CMYKcmyk(54.2%, 0%, 78.5%, 58%)
CIE-LABlab(39.96, -34.90, 38.71)
CIE-LCHlch(39.96, 52.12, 132.04°)
OKLaboklab(47.09% -0.0965 0.0869)
OKLCHoklch(47.09% 0.13 138)
XYZxyz(6.6787, 11.2297, 2.6261)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316B17 #51176B
analogous
#5B6B17 #316B17 #176B27
triadic
#316B17 #17316B #6B1731
tetradic
#316B17 #175B6B #51176B #6B2717
square
#316B17 #175B6B #51176B #6B2717
split-complementary
#316B17 #27176B #6B175B
monochromatic
#0C1905 #1A390C #316B17 #489D22 #5FD02D

Accessibility & contrast

On white

6.47
#316B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#316B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316B17
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316B17#FFFFFF#000000##FFFFFF
##316B171.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6106
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#2D675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #316b17;
/* rgb */ color: rgb(49, 107, 23);
/* oklch */ color: oklch(47.1% 0.130 138.0);
Tailwind
colors: {
  custom: {
    50: '#70965b',
    500: '#316b17',
    950: '#000000',
  },
}
SCSS
$custom: #316b17;
$custom-light: #70965b;
$custom-dark: #000000;
JSON
{
  "hex": "#316b17",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 101.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47086,
    "c": 0.12988,
    "h": 138
  },
  "luminance": 0.1123
}

Semantic roles & 50–950 ramp

primary
#316B17
secondary
#823DA1
accent
#40E8B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316B17

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

Preview Lab → · Contrast checker → · Palette generator →

#316B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva