#316016#316016

#316016 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 43.9% C 0.116 H 136.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#316016
RGBrgb(49, 96, 22)
HSLhsl(98, 63%, 23%)
HSVhsv(98, 77%, 38%)
CMYKcmyk(49%, 0%, 77.1%, 62.4%)
CIE-LABlab(36.13, -30.21, 35.28)
CIE-LCHlch(36.13, 46.44, 130.58°)
OKLaboklab(43.93% -0.0839 0.0796)
OKLCHoklch(43.93% 0.116 136.5)
XYZxyz(5.5942, 9.0763, 2.2160)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316016 #451660
analogous
#566016 #316016 #166020
triadic
#316016 #163160 #601631
tetradic
#316016 #165660 #451660 #602016
square
#316016 #165660 #451660 #602016
split-complementary
#316016 #201660 #601656
monochromatic
#0D1906 #182E0B #316016 #4A9221 #64C42D

Accessibility & contrast

On white

7.46
#316016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#316016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316016
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316016#FFFFFF#000000##FFFFFF
##3160161.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645709
Deuteranopia (green-blind)
#5D541D
Tritanopia (blue-blind)
#2F5C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #316016;
/* rgb */ color: rgb(49, 96, 22);
/* oklch */ color: oklch(43.9% 0.116 136.5);
Tailwind
colors: {
  custom: {
    50: '#6e8d59',
    500: '#316016',
    950: '#000000',
  },
}
SCSS
$custom: #316016;
$custom-light: #6e8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#316016",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 98.108,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.11567,
    "h": 136.5
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

primary
#316016
secondary
#753B97
accent
#42E6AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #316016

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

Preview Lab → · Contrast checker → · Palette generator →

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