#316718#316718

#316718 is a mid, vivid green. Relative luminance 0.104; OKLCH L 46.0% C 0.124 H 137.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#316718
RGBrgb(49, 103, 24)
HSLhsl(101, 62%, 25%)
HSVhsv(101, 77%, 40%)
CMYKcmyk(52.4%, 0%, 76.7%, 59.6%)
CIE-LABlab(38.58, -33.12, 36.93)
CIE-LCHlch(38.58, 49.61, 131.89°)
OKLaboklab(45.95% -0.0916 0.0834)
OKLCHoklch(45.95% 0.124 137.7)
XYZxyz(6.2815, 10.4190, 2.5440)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316718 #4E1867
analogous
#586718 #316718 #186727
triadic
#316718 #183167 #671831
tetradic
#316718 #185867 #4E1867 #672718
square
#316718 #185867 #4E1867 #672718
split-complementary
#316718 #271867 #671858
monochromatic
#0C1906 #19350C #316718 #499924 #60CA2F

Accessibility & contrast

On white

6.81
#316718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#316718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316718
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316718#FFFFFF#000000##FFFFFF
##3167181.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E0A
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#2D6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #316718;
/* rgb */ color: rgb(49, 103, 24);
/* oklch */ color: oklch(46.0% 0.124 137.7);
Tailwind
colors: {
  custom: {
    50: '#6f935b',
    500: '#316718',
    950: '#000000',
  },
}
SCSS
$custom: #316718;
$custom-light: #6f935b;
$custom-dark: #000000;
JSON
{
  "hex": "#316718",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 101.013,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45952,
    "c": 0.1239,
    "h": 137.7
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#316718
secondary
#7F3E9D
accent
#43E5B2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316718

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

Preview Lab → · Contrast checker → · Palette generator →

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