#316D17#316D17

#316D17 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.133 H 138.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#316D17
RGBrgb(49, 109, 23)
HSLhsl(102, 65%, 26%)
HSVhsv(102, 79%, 43%)
CMYKcmyk(55%, 0%, 78.9%, 57.3%)
CIE-LABlab(40.66, -35.73, 39.39)
CIE-LCHlch(40.66, 53.18, 132.22°)
OKLaboklab(47.66% -0.0988 0.0883)
OKLCHoklch(47.66% 0.133 138.2)
XYZxyz(6.8897, 11.6516, 2.6964)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316D17 #53176D
analogous
#5C6D17 #316D17 #176D28
triadic
#316D17 #17316D #6D1731
tetradic
#316D17 #175C6D #53176D #6D2817
square
#316D17 #175C6D #53176D #6D2817
split-complementary
#316D17 #28176D #6D175C
monochromatic
#0B1905 #1A3A0C #316D17 #48A022 #5ED22C

Accessibility & contrast

On white

6.31
#316D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#316D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316D17
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316D17#FFFFFF#000000##FFFFFF
##316D171.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#2C695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #316d17;
/* rgb */ color: rgb(49, 109, 23);
/* oklch */ color: oklch(47.7% 0.133 138.2);
Tailwind
colors: {
  custom: {
    50: '#70975b',
    500: '#316d17',
    950: '#000000',
  },
}
SCSS
$custom: #316d17;
$custom-light: #70975b;
$custom-dark: #000000;
JSON
{
  "hex": "#316d17",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 101.86,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.1325,
    "h": 138.2
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#316D17
secondary
#843DA3
accent
#40E8B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316D17

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

Preview Lab → · Contrast checker → · Palette generator →

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