#316517#316517

#316517 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.4% C 0.122 H 137.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#316517
RGBrgb(49, 101, 23)
HSLhsl(100, 63%, 24%)
HSVhsv(100, 77%, 40%)
CMYKcmyk(51.5%, 0%, 77.2%, 60.4%)
CIE-LABlab(37.88, -32.34, 36.63)
CIE-LCHlch(37.88, 48.86, 131.44°)
OKLaboklab(45.37% -0.0896 0.0826)
OKLCHoklch(45.37% 0.122 137.3)
XYZxyz(6.0748, 10.0218, 2.4247)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316517 #4B1765
analogous
#586517 #316517 #176524
triadic
#316517 #173165 #651731
tetradic
#316517 #175865 #4B1765 #652417
square
#316517 #175865 #4B1765 #652417
split-complementary
#316517 #241765 #651758
monochromatic
#0C1906 #19330C #316517 #499722 #61C92E

Accessibility & contrast

On white

6.99
#316517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#316517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316517
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316517#FFFFFF#000000##FFFFFF
##3165171.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C09
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#2E6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #316517;
/* rgb */ color: rgb(49, 101, 23);
/* oklch */ color: oklch(45.4% 0.122 137.3);
Tailwind
colors: {
  custom: {
    50: '#6f915a',
    500: '#316517',
    950: '#000000',
  },
}
SCSS
$custom: #316517;
$custom-light: #6f915a;
$custom-dark: #000000;
JSON
{
  "hex": "#316517",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 100,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45372,
    "c": 0.12185,
    "h": 137.3
  },
  "luminance": 0.10022
}

Semantic roles & 50–950 ramp

primary
#316517
secondary
#7C3C9B
accent
#42E6AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080D04
muted
#7B7D79

Preview Lab

Preview with #316517

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

Preview Lab → · Contrast checker → · Palette generator →

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