#316817#316817

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

Color values

HEX#316817
RGBrgb(49, 104, 23)
HSLhsl(101, 64%, 25%)
HSVhsv(101, 78%, 41%)
CMYKcmyk(52.9%, 0%, 77.9%, 59.2%)
CIE-LABlab(38.92, -33.63, 37.67)
CIE-LCHlch(38.92, 50.50, 131.75°)
OKLaboklab(46.23% -0.0931 0.0848)
OKLCHoklch(46.23% 0.126 137.7)
XYZxyz(6.3714, 10.6150, 2.5236)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316817 #4E1768
analogous
#596817 #316817 #176826
triadic
#316817 #173168 #681731
tetradic
#316817 #175968 #4E1768 #682617
square
#316817 #175968 #4E1768 #682617
split-complementary
#316817 #261768 #681759
monochromatic
#0C1906 #19360C #316817 #499A22 #60CC2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316817#FFFFFF#000000##FFFFFF
##3168171.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)
#6C5F07
Deuteranopia (green-blind)
#645A1F
Tritanopia (blue-blind)
#2D6458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #316817;
/* rgb */ color: rgb(49, 104, 23);
/* oklch */ color: oklch(46.2% 0.126 137.7);
Tailwind
colors: {
  custom: {
    50: '#6f945a',
    500: '#316817',
    950: '#000000',
  },
}
SCSS
$custom: #316817;
$custom-light: #6f945a;
$custom-dark: #000000;
JSON
{
  "hex": "#316817",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 100.741,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4623,
    "c": 0.1259,
    "h": 137.7
  },
  "luminance": 0.10615
}

Semantic roles & 50–950 ramp

primary
#316817
secondary
#7F3D9E
accent
#41E7B2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316817

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

Preview Lab → · Contrast checker → · Palette generator →

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