#806D17#806D17

#806D17 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.8% C 0.102 H 95.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#806D17
RGBrgb(128, 109, 23)
HSLhsl(49, 70%, 30%)
HSVhsv(49, 82%, 50%)
CMYKcmyk(0%, 14.8%, 82%, 49.8%)
CIE-LABlab(46.43, -1.77, 46.87)
CIE-LCHlch(46.43, 46.90, 92.17°)
OKLaboklab(53.76% -0.0102 0.1017)
OKLCHoklch(53.76% 0.102 95.7)
XYZxyz(14.5262, 15.5892, 3.0543)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806D17 #172A80
analogous
#803917 #806D17 #5F8017
triadic
#806D17 #17806D #6D1780
tetradic
#806D17 #178039 #172A80 #80175F
square
#806D17 #178039 #172A80 #80175F
split-complementary
#806D17 #175F80 #391780
monochromatic
#1A1605 #4C410E #806D17 #B49920 #DBBD36

Accessibility & contrast

On white

5.10
#806D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#806D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #806D17
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806D17#FFFFFF#000000##FFFFFF
##806D171.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B03
Deuteranopia (green-blind)
#7E711D
Tritanopia (blue-blind)
#8B645D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #806d17;
/* rgb */ color: rgb(128, 109, 23);
/* oklch */ color: oklch(53.8% 0.102 95.7);
Tailwind
colors: {
  custom: {
    50: '#a9965c',
    500: '#806d17',
    950: '#000000',
  },
}
SCSS
$custom: #806d17;
$custom-light: #a9965c;
$custom-dark: #000000;
JSON
{
  "hex": "#806d17",
  "rgb": {
    "r": 128,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 49.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53764,
    "c": 0.10218,
    "h": 95.7
  },
  "luminance": 0.15588
}

Semantic roles & 50–950 ramp

primary
#806D17
secondary
#3E54B4
accent
#5BEC3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #806D17

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

Preview Lab → · Contrast checker → · Palette generator →

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