#8B802C#8B802C

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

Color values

HEX#8B802C
RGBrgb(139, 128, 44)
HSLhsl(53, 52%, 36%)
HSVhsv(53, 68%, 55%)
CMYKcmyk(0%, 7.9%, 68.3%, 45.5%)
CIE-LABlab(53.07, -6.28, 45.31)
CIE-LCHlch(53.07, 45.74, 97.89°)
OKLaboklab(59.33% -0.0213 0.1021)
OKLCHoklch(59.33% 0.104 101.8)
XYZxyz(18.8220, 21.1099, 5.4656)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B802C #2C378B
analogous
#8B502C #8B802C #668B2C
triadic
#8B802C #2C8B80 #802C8B
tetradic
#8B802C #2C8B50 #2C378B #8B2C66
square
#8B802C #2C8B50 #2C378B #8B2C66
split-complementary
#8B802C #2C668B #502C8B
monochromatic
#2E2A0F #5D551D #8B802C #B9AB3B #CEC264

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B802C#FFFFFF#000000##000000
##8B802C1.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)
#8C7C21
Deuteranopia (green-blind)
#8F8131
Tritanopia (blue-blind)
#96776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b802c;
/* rgb */ color: rgb(139, 128, 44);
/* oklch */ color: oklch(59.3% 0.104 101.8);
Tailwind
colors: {
  custom: {
    50: '#b0a46a',
    500: '#8b802c',
    950: '#000000',
  },
}
SCSS
$custom: #8b802c;
$custom-light: #b0a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b802c",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 53.053,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59328,
    "c": 0.10428,
    "h": 101.8
  },
  "luminance": 0.21109
}

Semantic roles & 50–950 ramp

primary
#8B802C
secondary
#5F69B4
accent
#5DDB4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B802C

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

Preview Lab → · Contrast checker → · Palette generator →

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