#8B801F#8B801F

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

Color values

HEX#8B801F
RGBrgb(139, 128, 31)
HSLhsl(54, 64%, 33%)
HSVhsv(54, 78%, 55%)
CMYKcmyk(0%, 7.9%, 77.7%, 45.5%)
CIE-LABlab(52.98, -6.96, 50.43)
CIE-LCHlch(52.98, 50.91, 97.86°)
OKLaboklab(59.23% -0.0247 0.1105)
OKLCHoklch(59.23% 0.113 102.6)
XYZxyz(18.6148, 21.0271, 4.3742)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B801F #1F2A8B
analogous
#8B4A1F #8B801F #608B1F
triadic
#8B801F #1F8B80 #801F8B
tetradic
#8B801F #1F8B4A #1F2A8B #8B1F60
square
#8B801F #1F8B4A #1F2A8B #8B1F60
split-complementary
#8B801F #1F608B #4A1F8B
monochromatic
#272409 #595214 #8B801F #BDAE2A #D7C94D

Accessibility & contrast

On white

4.03
#8B801F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8B801F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B801F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B801F#FFFFFF#000000##000000
##8B801F1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0A
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#96766E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b801f;
/* rgb */ color: rgb(139, 128, 31);
/* oklch */ color: oklch(59.2% 0.113 102.6);
Tailwind
colors: {
  custom: {
    50: '#b0a463',
    500: '#8b801f',
    950: '#000000',
  },
}
SCSS
$custom: #8b801f;
$custom-light: #b0a463;
$custom-dark: #000000;
JSON
{
  "hex": "#8b801f",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 53.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59227,
    "c": 0.11318,
    "h": 102.6
  },
  "luminance": 0.21026
}

Semantic roles & 50–950 ramp

primary
#8B801F
secondary
#4C57BA
accent
#52E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B801F

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

Preview Lab → · Contrast checker → · Palette generator →

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