#316C15#316C15

#316C15 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.4% C 0.132 H 137.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#316C15
RGBrgb(49, 108, 21)
HSLhsl(101, 67%, 25%)
HSVhsv(101, 81%, 42%)
CMYKcmyk(54.6%, 0%, 80.6%, 57.6%)
CIE-LABlab(40.30, -35.46, 39.77)
CIE-LCHlch(40.30, 53.29, 131.72°)
OKLaboklab(47.36% -0.0982 0.0888)
OKLCHoklch(47.36% 0.132 137.9)
XYZxyz(6.7643, 11.4317, 2.5594)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316C15 #50156C
analogous
#5C6C15 #316C15 #156C25
triadic
#316C15 #15316C #6C1531
tetradic
#316C15 #155C6C #50156C #6C2515
square
#316C15 #155C6C #50156C #6C2515
split-complementary
#316C15 #25156C #6C155C
monochromatic
#0C1A05 #1A390B #316C15 #489F1F #5FD229

Accessibility & contrast

On white

6.39
#316C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#316C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316C15
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316C15#FFFFFF#000000##FFFFFF
##316C151.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706202
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#2D685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #316c15;
/* rgb */ color: rgb(49, 108, 21);
/* oklch */ color: oklch(47.4% 0.132 137.9);
Tailwind
colors: {
  custom: {
    50: '#70975a',
    500: '#316c15',
    950: '#000000',
  },
}
SCSS
$custom: #316c15;
$custom-light: #70975a;
$custom-dark: #000000;
JSON
{
  "hex": "#316c15",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 100.69,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47357,
    "c": 0.13239,
    "h": 137.9
  },
  "luminance": 0.11432
}

Semantic roles & 50–950 ramp

primary
#316C15
secondary
#813AA3
accent
#3DEAB3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316C15

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

Preview Lab → · Contrast checker → · Palette generator →

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