#806D18#806D18

#806D18 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#806D18
RGBrgb(128, 109, 24)
HSLhsl(49, 68%, 30%)
HSVhsv(49, 81%, 50%)
CMYKcmyk(0%, 14.8%, 81.3%, 49.8%)
CIE-LABlab(46.44, -1.73, 46.53)
CIE-LCHlch(46.44, 46.56, 92.13°)
OKLaboklab(53.77% -0.01 0.1012)
OKLCHoklch(53.77% 0.102 95.7)
XYZxyz(14.5364, 15.5932, 3.1081)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806D18 #182B80
analogous
#803918 #806D18 #5F8018
triadic
#806D18 #18806D #6D1880
tetradic
#806D18 #188039 #182B80 #80185F
square
#806D18 #188039 #182B80 #80185F
split-complementary
#806D18 #185F80 #391880
monochromatic
#1A1605 #4C410E #806D18 #B49922 #DABC39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##806D18#FFFFFF#000000##FFFFFF
##806D181.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)
#796B05
Deuteranopia (green-blind)
#7E711E
Tritanopia (blue-blind)
#8B645D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #806d18;
/* rgb */ color: rgb(128, 109, 24);
/* oklch */ color: oklch(53.8% 0.102 95.7);
Tailwind
colors: {
  custom: {
    50: '#a9965d',
    500: '#806d18',
    950: '#000000',
  },
}
SCSS
$custom: #806d18;
$custom-light: #a9965d;
$custom-dark: #000000;
JSON
{
  "hex": "#806d18",
  "rgb": {
    "r": 128,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 49.038,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.10164,
    "h": 95.7
  },
  "luminance": 0.15592
}

Semantic roles & 50–950 ramp

primary
#806D18
secondary
#4055B4
accent
#5CEB3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #806D18

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

Preview Lab → · Contrast checker → · Palette generator →

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