#8B802D#8B802D

#8B802D is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.103 H 101.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8B802D
RGBrgb(139, 128, 45)
HSLhsl(53, 51%, 36%)
HSVhsv(53, 68%, 55%)
CMYKcmyk(0%, 7.9%, 67.6%, 45.5%)
CIE-LABlab(53.08, -6.21, 44.87)
CIE-LCHlch(53.08, 45.30, 97.88°)
OKLaboklab(59.34% -0.021 0.1013)
OKLCHoklch(59.34% 0.104 101.7)
XYZxyz(18.8411, 21.1176, 5.5658)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B802D #2D388B
analogous
#8B512D #8B802D #678B2D
triadic
#8B802D #2D8B80 #802D8B
tetradic
#8B802D #2D8B51 #2D388B #8B2D67
square
#8B802D #2D8B51 #2D388B #8B2D67
split-complementary
#8B802D #2D678B #512D8B
monochromatic
#2F2B0F #5D551E #8B802D #B9AB3C #CDC165

Accessibility & contrast

On white

4.02
#8B802D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8B802D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B802D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B802D#FFFFFF#000000##000000
##8B802D1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C22
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#96776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b802d;
/* rgb */ color: rgb(139, 128, 45);
/* oklch */ color: oklch(59.3% 0.103 101.7);
Tailwind
colors: {
  custom: {
    50: '#b0a46a',
    500: '#8b802d',
    950: '#000000',
  },
}
SCSS
$custom: #8b802d;
$custom-light: #b0a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b802d",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 52.979,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59337,
    "c": 0.1035,
    "h": 101.7
  },
  "luminance": 0.21117
}

Semantic roles & 50–950 ramp

primary
#8B802D
secondary
#606AB4
accent
#5EDB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B802D

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

Preview Lab → · Contrast checker → · Palette generator →

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