#8B801A#8B801A

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

Color values

HEX#8B801A
RGBrgb(139, 128, 26)
HSLhsl(54, 68%, 32%)
HSVhsv(54, 81%, 55%)
CMYKcmyk(0%, 7.9%, 81.3%, 45.5%)
CIE-LABlab(52.95, -7.16, 52.10)
CIE-LCHlch(52.95, 52.59, 97.83°)
OKLaboklab(59.2% -0.0257 0.113)
OKLCHoklch(59.2% 0.116 102.8)
XYZxyz(18.5540, 21.0027, 4.0537)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B801A #1A258B
analogous
#8B471A #8B801A #5E8B1A
triadic
#8B801A #1A8B80 #801A8B
tetradic
#8B801A #1A8B47 #1A258B #8B1A5E
square
#8B801A #1A8B47 #1A258B #8B1A5E
split-complementary
#8B801A #1A5E8B #471A8B
monochromatic
#242107 #575110 #8B801A #BFAF24 #DCCD43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B801A#FFFFFF#000000##000000
##8B801A1.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)
#8D7C00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#96766D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b801a;
/* rgb */ color: rgb(139, 128, 26);
/* oklch */ color: oklch(59.2% 0.116 102.8);
Tailwind
colors: {
  custom: {
    50: '#b1a461',
    500: '#8b801a',
    950: '#000000',
  },
}
SCSS
$custom: #8b801a;
$custom-light: #b1a461;
$custom-dark: #000000;
JSON
{
  "hex": "#8b801a",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 54.159,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59198,
    "c": 0.11589,
    "h": 102.8
  },
  "luminance": 0.21002
}

Semantic roles & 50–950 ramp

primary
#8B801A
secondary
#4450BD
accent
#4DEB3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B801A

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

Preview Lab → · Contrast checker → · Palette generator →

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