#316818#316818

#316818 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.125 H 137.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#316818
RGBrgb(49, 104, 24)
HSLhsl(101, 63%, 25%)
HSVhsv(101, 77%, 41%)
CMYKcmyk(52.9%, 0%, 76.9%, 59.2%)
CIE-LABlab(38.93, -33.55, 37.28)
CIE-LCHlch(38.93, 50.16, 131.99°)
OKLaboklab(46.24% -0.0928 0.0841)
OKLCHoklch(46.24% 0.125 137.8)
XYZxyz(6.3816, 10.6191, 2.5774)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316818 #4F1868
analogous
#596818 #316818 #186827
triadic
#316818 #183168 #681831
tetradic
#316818 #185968 #4F1868 #682718
square
#316818 #185968 #4F1868 #682718
split-complementary
#316818 #271868 #681859
monochromatic
#0C1906 #1A360D #316818 #489A23 #60CB2F

Accessibility & contrast

On white

6.72
#316818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#316818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316818
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316818#FFFFFF#000000##FFFFFF
##3168181.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#2D6458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #316818;
/* rgb */ color: rgb(49, 104, 24);
/* oklch */ color: oklch(46.2% 0.125 137.8);
Tailwind
colors: {
  custom: {
    50: '#6f945b',
    500: '#316818',
    950: '#000000',
  },
}
SCSS
$custom: #316818;
$custom-light: #6f945b;
$custom-dark: #000000;
JSON
{
  "hex": "#316818",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 101.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46238,
    "c": 0.12525,
    "h": 137.8
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#316818
secondary
#803E9E
accent
#42E6B3
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316818

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

Preview Lab → · Contrast checker → · Palette generator →

#316818 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva