#806817#806817

#806817 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.6% C 0.099 H 91.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#806817
RGBrgb(128, 104, 23)
HSLhsl(46, 70%, 30%)
HSVhsv(46, 82%, 50%)
CMYKcmyk(0%, 18.8%, 82%, 49.8%)
CIE-LABlab(45.02, 1.11, 45.60)
CIE-LCHlch(45.02, 45.61, 88.60°)
OKLaboklab(52.65% -0.002 0.0989)
OKLCHoklch(52.65% 0.099 91.2)
XYZxyz(14.0079, 14.5526, 2.8816)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806817 #172F80
analogous
#803417 #806817 #638017
triadic
#806817 #178068 #681780
tetradic
#806817 #178034 #172F80 #801763
square
#806817 #178034 #172F80 #801763
split-complementary
#806817 #176380 #341780
monochromatic
#1A1505 #4C3E0E #806817 #B49220 #DBB536

Accessibility & contrast

On white

5.37
#806817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#806817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #806817
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806817#FFFFFF#000000##FFFFFF
##8068171.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#7B6D1C
Tritanopia (blue-blind)
#8B5F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #806817;
/* rgb */ color: rgb(128, 104, 23);
/* oklch */ color: oklch(52.6% 0.099 91.2);
Tailwind
colors: {
  custom: {
    50: '#a9925c',
    500: '#806817',
    950: '#000000',
  },
}
SCSS
$custom: #806817;
$custom-light: #a9925c;
$custom-dark: #000000;
JSON
{
  "hex": "#806817",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 46.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52645,
    "c": 0.09895,
    "h": 91.2
  },
  "luminance": 0.14552
}

Semantic roles & 50–950 ramp

primary
#806817
secondary
#3E59B4
accent
#64EC3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #806817

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

Preview Lab → · Contrast checker → · Palette generator →

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