#806B18#806B18

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

Color values

HEX#806B18
RGBrgb(128, 107, 24)
HSLhsl(48, 68%, 30%)
HSVhsv(48, 81%, 50%)
CMYKcmyk(0%, 16.4%, 81.3%, 49.8%)
CIE-LABlab(45.87, -0.58, 46.01)
CIE-LCHlch(45.87, 46.01, 90.73°)
OKLaboklab(53.32% -0.0067 0.1)
OKLCHoklch(53.32% 0.1 93.9)
XYZxyz(14.3255, 15.1714, 3.0378)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806B18 #182D80
analogous
#803718 #806B18 #618018
triadic
#806B18 #18806B #6B1880
tetradic
#806B18 #188037 #182D80 #801861
square
#806B18 #188037 #182D80 #801861
split-complementary
#806B18 #186180 #371880
monochromatic
#1A1605 #4C400E #806B18 #B49622 #DAB939

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##806B18#FFFFFF#000000##FFFFFF
##806B181.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)
#776906
Deuteranopia (green-blind)
#7D6F1D
Tritanopia (blue-blind)
#8B625B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #806b18;
/* rgb */ color: rgb(128, 107, 24);
/* oklch */ color: oklch(53.3% 0.100 93.9);
Tailwind
colors: {
  custom: {
    50: '#a9955d',
    500: '#806b18',
    950: '#000000',
  },
}
SCSS
$custom: #806b18;
$custom-light: #a9955d;
$custom-dark: #000000;
JSON
{
  "hex": "#806b18",
  "rgb": {
    "r": 128,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 47.885,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5332,
    "c": 0.10027,
    "h": 93.9
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#806B18
secondary
#4057B4
accent
#60EB3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #806B18

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

Preview Lab → · Contrast checker → · Palette generator →

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