#8B802B#8B802B

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

Color values

HEX#8B802B
RGBrgb(139, 128, 43)
HSLhsl(53, 53%, 36%)
HSVhsv(53, 69%, 55%)
CMYKcmyk(0%, 7.9%, 69.1%, 45.5%)
CIE-LABlab(53.06, -6.34, 45.74)
CIE-LCHlch(53.06, 46.17, 97.89°)
OKLaboklab(59.32% -0.0216 0.1028)
OKLCHoklch(59.32% 0.105 101.9)
XYZxyz(18.8035, 21.1025, 5.3678)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B802B #2B368B
analogous
#8B502B #8B802B #668B2B
triadic
#8B802B #2B8B80 #802B8B
tetradic
#8B802B #2B8B50 #2B368B #8B2B66
square
#8B802B #2B8B50 #2B368B #8B2B66
split-complementary
#8B802B #2B668B #502B8B
monochromatic
#2E2A0E #5C551D #8B802B #BAAB39 #CEC262

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B802B#FFFFFF#000000##000000
##8B802B1.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)
#8C7C1F
Deuteranopia (green-blind)
#8F8130
Tritanopia (blue-blind)
#96776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b802b;
/* rgb */ color: rgb(139, 128, 43);
/* oklch */ color: oklch(59.3% 0.105 101.9);
Tailwind
colors: {
  custom: {
    50: '#b0a469',
    500: '#8b802b',
    950: '#000000',
  },
}
SCSS
$custom: #8b802b;
$custom-light: #b0a469;
$custom-dark: #000000;
JSON
{
  "hex": "#8b802b",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 53.125,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59319,
    "c": 0.10507,
    "h": 101.9
  },
  "luminance": 0.21102
}

Semantic roles & 50–950 ramp

primary
#8B802B
secondary
#5D67B5
accent
#5CDC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B802B

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

Preview Lab → · Contrast checker → · Palette generator →

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