#8B801D#8B801D

#8B801D is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.114 H 102.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8B801D
RGBrgb(139, 128, 29)
HSLhsl(54, 65%, 33%)
HSVhsv(54, 79%, 55%)
CMYKcmyk(0%, 7.9%, 79.1%, 45.5%)
CIE-LABlab(52.97, -7.04, 51.12)
CIE-LCHlch(52.97, 51.61, 97.84°)
OKLaboklab(59.22% -0.0251 0.1115)
OKLCHoklch(59.22% 0.114 102.7)
XYZxyz(18.5893, 21.0168, 4.2396)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B801D #1D288B
analogous
#8B491D #8B801D #5F8B1D
triadic
#8B801D #1D8B80 #801D8B
tetradic
#8B801D #1D8B49 #1D288B #8B1D5F
square
#8B801D #1D8B49 #1D288B #8B1D5F
split-complementary
#8B801D #1D5F8B #491D8B
monochromatic
#262308 #585112 #8B801D #BEAF28 #D9CB49

Accessibility & contrast

On white

4.04
#8B801D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8B801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B801D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B801D#FFFFFF#000000##000000
##8B801D1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C05
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#96766D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b801d;
/* rgb */ color: rgb(139, 128, 29);
/* oklch */ color: oklch(59.2% 0.114 102.7);
Tailwind
colors: {
  custom: {
    50: '#b0a462',
    500: '#8b801d',
    950: '#000000',
  },
}
SCSS
$custom: #8b801d;
$custom-light: #b0a462;
$custom-dark: #000000;
JSON
{
  "hex": "#8b801d",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 54,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59215,
    "c": 0.11431,
    "h": 102.7
  },
  "luminance": 0.21016
}

Semantic roles & 50–950 ramp

primary
#8B801D
secondary
#4954BB
accent
#50E83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B801D

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

Preview Lab → · Contrast checker → · Palette generator →

#8B801D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva