#8B801B#8B801B

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

Color values

HEX#8B801B
RGBrgb(139, 128, 27)
HSLhsl(54, 67%, 33%)
HSVhsv(54, 81%, 55%)
CMYKcmyk(0%, 7.9%, 80.6%, 45.5%)
CIE-LABlab(52.96, -7.12, 51.78)
CIE-LCHlch(52.96, 52.27, 97.83°)
OKLaboklab(59.2% -0.0255 0.1125)
OKLCHoklch(59.2% 0.115 102.8)
XYZxyz(18.5653, 21.0073, 4.1136)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B801B #1B268B
analogous
#8B481B #8B801B #5E8B1B
triadic
#8B801B #1B8B80 #801B8B
tetradic
#8B801B #1B8B48 #1B268B #8B1B5E
square
#8B801B #1B8B48 #1B268B #8B1B5E
split-complementary
#8B801B #1B5E8B #481B8B
monochromatic
#252207 #585111 #8B801B #BEAF25 #DBCC45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B801B#FFFFFF#000000##000000
##8B801B1.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)
#8C7C00
Deuteranopia (green-blind)
#908123
Tritanopia (blue-blind)
#96766D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b801b;
/* rgb */ color: rgb(139, 128, 27);
/* oklch */ color: oklch(59.2% 0.115 102.8);
Tailwind
colors: {
  custom: {
    50: '#b1a461',
    500: '#8b801b',
    950: '#000000',
  },
}
SCSS
$custom: #8b801b;
$custom-light: #b1a461;
$custom-dark: #000000;
JSON
{
  "hex": "#8b801b",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 54.107,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59203,
    "c": 0.11538,
    "h": 102.8
  },
  "luminance": 0.21006
}

Semantic roles & 50–950 ramp

primary
#8B801B
secondary
#4551BC
accent
#4EEA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B801B

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

Preview Lab → · Contrast checker → · Palette generator →

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