#316C18#316C18

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

Color values

HEX#316C18
RGBrgb(49, 108, 24)
HSLhsl(102, 64%, 26%)
HSVhsv(102, 78%, 42%)
CMYKcmyk(54.6%, 0%, 77.8%, 57.6%)
CIE-LABlab(40.32, -35.24, 38.67)
CIE-LCHlch(40.32, 52.32, 132.34°)
OKLaboklab(47.38% -0.0974 0.087)
OKLCHoklch(47.38% 0.131 138.2)
XYZxyz(6.7938, 11.4435, 2.7148)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316C18 #53186C
analogous
#5B6C18 #316C18 #186C29
triadic
#316C18 #18316C #6C1831
tetradic
#316C18 #185B6C #53186C #6C2918
square
#316C18 #185B6C #53186C #6C2918
split-complementary
#316C18 #29186C #6C185B
monochromatic
#0B1906 #1A3A0D #316C18 #489E23 #5ED02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316C18#FFFFFF#000000##FFFFFF
##316C181.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)
#706207
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#2C685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #316c18;
/* rgb */ color: rgb(49, 108, 24);
/* oklch */ color: oklch(47.4% 0.131 138.2);
Tailwind
colors: {
  custom: {
    50: '#70975b',
    500: '#316c18',
    950: '#000000',
  },
}
SCSS
$custom: #316c18;
$custom-light: #70975b;
$custom-dark: #000000;
JSON
{
  "hex": "#316c18",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 102.143,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47379,
    "c": 0.13058,
    "h": 138.2
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#316C18
secondary
#843EA2
accent
#41E7B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316C18

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

Preview Lab → · Contrast checker → · Palette generator →

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