#316116#316116

#316116 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.2% C 0.117 H 136.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#316116
RGBrgb(49, 97, 22)
HSLhsl(98, 63%, 23%)
HSVhsv(98, 77%, 38%)
CMYKcmyk(49.5%, 0%, 77.3%, 62%)
CIE-LABlab(36.48, -30.66, 35.63)
CIE-LCHlch(36.48, 47.00, 130.71°)
OKLaboklab(44.22% -0.0851 0.0803)
OKLCHoklch(44.22% 0.117 136.7)
XYZxyz(5.6860, 9.2599, 2.2466)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316116 #461661
analogous
#566116 #316116 #166120
triadic
#316116 #163161 #611631
tetradic
#316116 #165661 #461661 #612016
square
#316116 #165661 #461661 #612016
split-complementary
#316116 #201661 #611656
monochromatic
#0D1906 #182F0B #316116 #4A9321 #63C52D

Accessibility & contrast

On white

7.36
#316116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#316116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316116
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316116#FFFFFF#000000##FFFFFF
##3161161.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655808
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#2F5D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #316116;
/* rgb */ color: rgb(49, 97, 22);
/* oklch */ color: oklch(44.2% 0.117 136.7);
Tailwind
colors: {
  custom: {
    50: '#6e8e59',
    500: '#316116',
    950: '#000000',
  },
}
SCSS
$custom: #316116;
$custom-light: #6e8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#316116",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 22
  },
  "hsl": {
    "h": 98.4,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44218,
    "c": 0.11705,
    "h": 136.7
  },
  "luminance": 0.0926
}

Semantic roles & 50–950 ramp

primary
#316116
secondary
#763B98
accent
#42E6AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #316116

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

Preview Lab → · Contrast checker → · Palette generator →

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