#316D15#316D15

#316D15 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.6% C 0.134 H 138.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#316D15
RGBrgb(49, 109, 21)
HSLhsl(101, 68%, 25%)
HSVhsv(101, 81%, 43%)
CMYKcmyk(55%, 0%, 80.7%, 57.3%)
CIE-LABlab(40.64, -35.88, 40.11)
CIE-LCHlch(40.64, 53.81, 131.81°)
OKLaboklab(47.64% -0.0993 0.0895)
OKLCHoklch(47.64% 0.134 138)
XYZxyz(6.8704, 11.6439, 2.5948)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316D15 #51156D
analogous
#5D6D15 #316D15 #156D25
triadic
#316D15 #15316D #6D1531
tetradic
#316D15 #155D6D #51156D #6D2515
square
#316D15 #155D6D #51156D #6D2515
split-complementary
#316D15 #25156D #6D155D
monochromatic
#0C1A05 #1A3A0B #316D15 #48A01F #5FD429

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316D15#FFFFFF#000000##FFFFFF
##316D151.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)
#716301
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#2C695C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #316d15;
/* rgb */ color: rgb(49, 109, 21);
/* oklch */ color: oklch(47.6% 0.134 138.0);
Tailwind
colors: {
  custom: {
    50: '#70975a',
    500: '#316d15',
    950: '#000000',
  },
}
SCSS
$custom: #316d15;
$custom-light: #70975a;
$custom-dark: #000000;
JSON
{
  "hex": "#316d15",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 100.909,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47642,
    "c": 0.13368,
    "h": 138
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#316D15
secondary
#823AA3
accent
#3DEBB3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316D15

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

Preview Lab → · Contrast checker → · Palette generator →

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