#316417#316417

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

Color values

HEX#316417
RGBrgb(49, 100, 23)
HSLhsl(100, 63%, 24%)
HSVhsv(100, 77%, 39%)
CMYKcmyk(51%, 0%, 77%, 60.8%)
CIE-LABlab(37.53, -31.90, 36.28)
CIE-LCHlch(37.53, 48.31, 131.33°)
OKLaboklab(45.09% -0.0884 0.0819)
OKLCHoklch(45.09% 0.12 137.2)
XYZxyz(5.9783, 9.8288, 2.3926)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316417 #4A1764
analogous
#586417 #316417 #176424
triadic
#316417 #173164 #641731
tetradic
#316417 #175864 #4A1764 #642417
square
#316417 #175864 #4A1764 #642417
split-complementary
#316417 #241764 #641758
monochromatic
#0C1906 #19320C #316417 #499622 #62C82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316417#FFFFFF#000000##FFFFFF
##3164171.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)
#685B09
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#2E6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #316417;
/* rgb */ color: rgb(49, 100, 23);
/* oklch */ color: oklch(45.1% 0.120 137.2);
Tailwind
colors: {
  custom: {
    50: '#6f905a',
    500: '#316417',
    950: '#000000',
  },
}
SCSS
$custom: #316417;
$custom-light: #6f905a;
$custom-dark: #000000;
JSON
{
  "hex": "#316417",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 99.74,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45086,
    "c": 0.12049,
    "h": 137.2
  },
  "luminance": 0.09829
}

Semantic roles & 50–950 ramp

primary
#316417
secondary
#7B3C9A
accent
#42E6AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #316417

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

Preview Lab → · Contrast checker → · Palette generator →

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