#316516#316516

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

Color values

HEX#316516
RGBrgb(49, 101, 22)
HSLhsl(99, 64%, 24%)
HSVhsv(99, 78%, 40%)
CMYKcmyk(51.5%, 0%, 78.2%, 60.4%)
CIE-LABlab(37.87, -32.42, 37.02)
CIE-LCHlch(37.87, 49.21, 131.21°)
OKLaboklab(45.36% -0.0899 0.0832)
OKLCHoklch(45.36% 0.123 137.2)
XYZxyz(6.0649, 10.0178, 2.3730)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316516 #4A1665
analogous
#596516 #316516 #166523
triadic
#316516 #163165 #651631
tetradic
#316516 #165965 #4A1665 #652316
square
#316516 #165965 #4A1665 #652316
split-complementary
#316516 #231665 #651659
monochromatic
#0C1905 #19330B #316516 #499721 #62CA2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316516#FFFFFF#000000##FFFFFF
##3165161.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)
#695C07
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#2E6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #316516;
/* rgb */ color: rgb(49, 101, 22);
/* oklch */ color: oklch(45.4% 0.122 137.2);
Tailwind
colors: {
  custom: {
    50: '#6f9159',
    500: '#316516',
    950: '#000000',
  },
}
SCSS
$custom: #316516;
$custom-light: #6f9159;
$custom-dark: #000000;
JSON
{
  "hex": "#316516",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 99.494,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45364,
    "c": 0.1225,
    "h": 137.2
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#316516
secondary
#7B3B9C
accent
#41E7AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080D04
muted
#7B7D79

Preview Lab

Preview with #316516

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

Preview Lab → · Contrast checker → · Palette generator →

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