#806B17#806B17

#806B17 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.3% C 0.101 H 94.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#806B17
RGBrgb(128, 107, 23)
HSLhsl(48, 70%, 30%)
HSVhsv(48, 82%, 50%)
CMYKcmyk(0%, 16.4%, 82%, 49.8%)
CIE-LABlab(45.86, -0.62, 46.36)
CIE-LCHlch(45.86, 46.36, 90.77°)
OKLaboklab(53.31% -0.007 0.1006)
OKLCHoklch(53.31% 0.101 94)
XYZxyz(14.3152, 15.1673, 2.9840)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806B17 #172C80
analogous
#803717 #806B17 #618017
triadic
#806B17 #17806B #6B1780
tetradic
#806B17 #178037 #172C80 #801761
square
#806B17 #178037 #172C80 #801761
split-complementary
#806B17 #176180 #371780
monochromatic
#1A1605 #4C400E #806B17 #B49620 #DBBA36

Accessibility & contrast

On white

5.21
#806B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#806B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #806B17
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806B17#FFFFFF#000000##FFFFFF
##806B171.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#7D6F1D
Tritanopia (blue-blind)
#8B625B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #806b17;
/* rgb */ color: rgb(128, 107, 23);
/* oklch */ color: oklch(53.3% 0.101 94.0);
Tailwind
colors: {
  custom: {
    50: '#a9955c',
    500: '#806b17',
    950: '#000000',
  },
}
SCSS
$custom: #806b17;
$custom-light: #a9955c;
$custom-dark: #000000;
JSON
{
  "hex": "#806b17",
  "rgb": {
    "r": 128,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 48,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53314,
    "c": 0.10081,
    "h": 94
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#806B17
secondary
#3E56B4
accent
#5FEC3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #806B17

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

Preview Lab → · Contrast checker → · Palette generator →

#806B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva