#806818#806818

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

Color values

HEX#806818
RGBrgb(128, 104, 24)
HSLhsl(46, 68%, 30%)
HSVhsv(46, 81%, 50%)
CMYKcmyk(0%, 18.8%, 81.3%, 49.8%)
CIE-LABlab(45.02, 1.15, 45.24)
CIE-LCHlch(45.02, 45.25, 88.54°)
OKLaboklab(52.65% -0.0018 0.0984)
OKLCHoklch(52.65% 0.098 91)
XYZxyz(14.0181, 14.5567, 2.9353)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806818 #183080
analogous
#803418 #806818 #648018
triadic
#806818 #188068 #681880
tetradic
#806818 #188034 #183080 #801864
square
#806818 #188034 #183080 #801864
split-complementary
#806818 #186480 #341880
monochromatic
#1A1505 #4C3E0E #806818 #B49222 #DAB539

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##806818#FFFFFF#000000##FFFFFF
##8068181.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)
#756707
Deuteranopia (green-blind)
#7B6D1D
Tritanopia (blue-blind)
#8B5F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #806818;
/* rgb */ color: rgb(128, 104, 24);
/* oklch */ color: oklch(52.7% 0.098 91.0);
Tailwind
colors: {
  custom: {
    50: '#a9925c',
    500: '#806818',
    950: '#000000',
  },
}
SCSS
$custom: #806818;
$custom-light: #a9925c;
$custom-dark: #000000;
JSON
{
  "hex": "#806818",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 46.154,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52652,
    "c": 0.09841,
    "h": 91
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#806818
secondary
#405AB4
accent
#65EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #806818

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

Preview Lab → · Contrast checker → · Palette generator →

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