#8B801C#8B801C

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

Color values

HEX#8B801C
RGBrgb(139, 128, 28)
HSLhsl(54, 66%, 33%)
HSVhsv(54, 80%, 55%)
CMYKcmyk(0%, 7.9%, 79.9%, 45.5%)
CIE-LABlab(52.96, -7.08, 51.46)
CIE-LCHlch(52.96, 51.94, 97.84°)
OKLaboklab(59.21% -0.0253 0.112)
OKLCHoklch(59.21% 0.115 102.7)
XYZxyz(18.5771, 21.0120, 4.1756)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B801C #1C278B
analogous
#8B481C #8B801C #5E8B1C
triadic
#8B801C #1C8B80 #801C8B
tetradic
#8B801C #1C8B48 #1C278B #8B1C5E
square
#8B801C #1C8B48 #1C278B #8B1C5E
split-complementary
#8B801C #1C5E8B #481C8B
monochromatic
#252207 #585112 #8B801C #BEAF26 #DACB47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B801C#FFFFFF#000000##000000
##8B801C1.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)
#8C7C03
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#96766D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b801c;
/* rgb */ color: rgb(139, 128, 28);
/* oklch */ color: oklch(59.2% 0.115 102.7);
Tailwind
colors: {
  custom: {
    50: '#b0a462',
    500: '#8b801c',
    950: '#000000',
  },
}
SCSS
$custom: #8b801c;
$custom-light: #b0a462;
$custom-dark: #000000;
JSON
{
  "hex": "#8b801c",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 54.054,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59209,
    "c": 0.11486,
    "h": 102.7
  },
  "luminance": 0.21011
}

Semantic roles & 50–950 ramp

primary
#8B801C
secondary
#4753BC
accent
#4FE93E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B801C

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

Preview Lab → · Contrast checker → · Palette generator →

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