#8B802A#8B802A

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

Color values

HEX#8B802A
RGBrgb(139, 128, 42)
HSLhsl(53, 54%, 35%)
HSVhsv(53, 70%, 55%)
CMYKcmyk(0%, 7.9%, 69.8%, 45.5%)
CIE-LABlab(53.05, -6.40, 46.16)
CIE-LCHlch(53.05, 46.60, 97.89°)
OKLaboklab(59.31% -0.0219 0.1035)
OKLCHoklch(59.31% 0.106 101.9)
XYZxyz(18.7853, 21.0953, 5.2723)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B802A #2A358B
analogous
#8B4F2A #8B802A #658B2A
triadic
#8B802A #2A8B80 #802A8B
tetradic
#8B802A #2A8B4F #2A358B #8B2A65
square
#8B802A #2A8B4F #2A358B #8B2A65
split-complementary
#8B802A #2A658B #4F2A8B
monochromatic
#2D290E #5C551C #8B802A #BAAB38 #CFC360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B802A#FFFFFF#000000##000000
##8B802A1.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)
#8C7C1E
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#96776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b802a;
/* rgb */ color: rgb(139, 128, 42);
/* oklch */ color: oklch(59.3% 0.106 101.9);
Tailwind
colors: {
  custom: {
    50: '#b0a469',
    500: '#8b802a',
    950: '#000000',
  },
}
SCSS
$custom: #8b802a;
$custom-light: #b0a469;
$custom-dark: #000000;
JSON
{
  "hex": "#8b802a",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 53.196,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5931,
    "c": 0.10582,
    "h": 101.9
  },
  "luminance": 0.21094
}

Semantic roles & 50–950 ramp

primary
#8B802A
secondary
#5C66B5
accent
#5BDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B802A

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

Preview Lab → · Contrast checker → · Palette generator →

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