#316416#316416

#316416 is a mid, vivid yellow-green. Relative luminance 0.098; OKLCH L 45.1% C 0.121 H 137.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#316416
RGBrgb(49, 100, 22)
HSLhsl(99, 64%, 24%)
HSVhsv(99, 78%, 39%)
CMYKcmyk(51%, 0%, 78%, 60.8%)
CIE-LABlab(37.53, -31.98, 36.67)
CIE-LCHlch(37.53, 48.66, 131.09°)
OKLaboklab(45.08% -0.0887 0.0825)
OKLCHoklch(45.08% 0.121 137.1)
XYZxyz(5.9684, 9.8248, 2.3408)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316416 #491664
analogous
#586416 #316416 #166422
triadic
#316416 #163164 #641631
tetradic
#316416 #165864 #491664 #642216
square
#316416 #165864 #491664 #642216
split-complementary
#316416 #221664 #641658
monochromatic
#0C1906 #18320B #316416 #4A9621 #62C82C

Accessibility & contrast

On white

7.08
#316416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#316416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316416
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316416#FFFFFF#000000##FFFFFF
##3164161.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B07
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#2E6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #316416;
/* rgb */ color: rgb(49, 100, 22);
/* oklch */ color: oklch(45.1% 0.121 137.1);
Tailwind
colors: {
  custom: {
    50: '#6f9059',
    500: '#316416',
    950: '#000000',
  },
}
SCSS
$custom: #316416;
$custom-light: #6f9059;
$custom-dark: #000000;
JSON
{
  "hex": "#316416",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 22
  },
  "hsl": {
    "h": 99.231,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45078,
    "c": 0.12116,
    "h": 137.1
  },
  "luminance": 0.09825
}

Semantic roles & 50–950 ramp

primary
#316416
secondary
#7A3B9B
accent
#41E7AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #316416

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

Preview Lab → · Contrast checker → · Palette generator →

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