#806917#806917

#806917 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.9% C 0.100 H 92.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#806917
RGBrgb(128, 105, 23)
HSLhsl(47, 70%, 30%)
HSVhsv(47, 82%, 50%)
CMYKcmyk(0%, 18%, 82%, 49.8%)
CIE-LABlab(45.30, 0.53, 45.85)
CIE-LCHlch(45.30, 45.85, 89.34°)
OKLaboklab(52.87% -0.0037 0.0995)
OKLCHoklch(52.87% 0.1 92.1)
XYZxyz(14.1091, 14.7551, 2.9153)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806917 #172E80
analogous
#803517 #806917 #638017
triadic
#806917 #178069 #691780
tetradic
#806917 #178035 #172E80 #801763
square
#806917 #178035 #172E80 #801763
split-complementary
#806917 #176380 #351780
monochromatic
#1A1505 #4C3E0E #806917 #B49420 #DBB736

Accessibility & contrast

On white

5.32
#806917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#806917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #806917
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806917#FFFFFF#000000##FFFFFF
##8069171.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766705
Deuteranopia (green-blind)
#7B6E1C
Tritanopia (blue-blind)
#8B605A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #806917;
/* rgb */ color: rgb(128, 105, 23);
/* oklch */ color: oklch(52.9% 0.100 92.1);
Tailwind
colors: {
  custom: {
    50: '#a9935c',
    500: '#806917',
    950: '#000000',
  },
}
SCSS
$custom: #806917;
$custom-light: #a9935c;
$custom-dark: #000000;
JSON
{
  "hex": "#806917",
  "rgb": {
    "r": 128,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 46.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52868,
    "c": 0.09955,
    "h": 92.1
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#806917
secondary
#3E58B4
accent
#62EC3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #806917

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

Preview Lab → · Contrast checker → · Palette generator →

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