#316216#316216

#316216 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.5% C 0.118 H 136.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#316216
RGBrgb(49, 98, 22)
HSLhsl(99, 63%, 24%)
HSVhsv(99, 78%, 38%)
CMYKcmyk(50%, 0%, 77.6%, 61.6%)
CIE-LABlab(36.83, -31.10, 35.98)
CIE-LCHlch(36.83, 47.56, 130.84°)
OKLaboklab(44.51% -0.0863 0.0811)
OKLCHoklch(44.51% 0.118 136.8)
XYZxyz(5.7790, 9.4459, 2.2776)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316216 #471662
analogous
#576216 #316216 #166221
triadic
#316216 #163162 #621631
tetradic
#316216 #165762 #471662 #622116
square
#316216 #165762 #471662 #622116
split-complementary
#316216 #211662 #621657
monochromatic
#0C1906 #18300B #316216 #4A9421 #63C62C

Accessibility & contrast

On white

7.27
#316216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#316216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316216
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316216#FFFFFF#000000##FFFFFF
##3162161.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665908
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#2E5E53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #316216;
/* rgb */ color: rgb(49, 98, 22);
/* oklch */ color: oklch(44.5% 0.118 136.8);
Tailwind
colors: {
  custom: {
    50: '#6e8f59',
    500: '#316216',
    950: '#000000',
  },
}
SCSS
$custom: #316216;
$custom-light: #6e8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#316216",
  "rgb": {
    "r": 49,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 98.684,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44505,
    "c": 0.11842,
    "h": 136.8
  },
  "luminance": 0.09446
}

Semantic roles & 50–950 ramp

primary
#316216
secondary
#773B99
accent
#41E6AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #316216

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

Preview Lab → · Contrast checker → · Palette generator →

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