#806816#806816

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

Color values

HEX#806816
RGBrgb(128, 104, 22)
HSLhsl(46, 71%, 29%)
HSVhsv(46, 83%, 50%)
CMYKcmyk(0%, 18.8%, 82.8%, 49.8%)
CIE-LABlab(45.01, 1.07, 45.95)
CIE-LCHlch(45.01, 45.96, 88.66°)
OKLaboklab(52.64% -0.0022 0.0995)
OKLCHoklch(52.64% 0.099 91.3)
XYZxyz(13.9981, 14.5486, 2.8298)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806816 #162E80
analogous
#803316 #806816 #638016
triadic
#806816 #168068 #681680
tetradic
#806816 #168033 #162E80 #801663
square
#806816 #168033 #162E80 #801663
split-complementary
#806816 #166380 #331680
monochromatic
#1A1504 #4C3E0D #806816 #B4921F #DCB634

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##806816#FFFFFF#000000##FFFFFF
##8068161.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)
#756703
Deuteranopia (green-blind)
#7B6D1B
Tritanopia (blue-blind)
#8B5E59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #806816;
/* rgb */ color: rgb(128, 104, 22);
/* oklch */ color: oklch(52.6% 0.099 91.3);
Tailwind
colors: {
  custom: {
    50: '#a9925b',
    500: '#806816',
    950: '#000000',
  },
}
SCSS
$custom: #806816;
$custom-light: #a9925b;
$custom-dark: #000000;
JSON
{
  "hex": "#806816",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 46.415,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.09948,
    "h": 91.3
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#806816
secondary
#3D58B5
accent
#63ED3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #806816

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

Preview Lab → · Contrast checker → · Palette generator →

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