#8B802E#8B802E

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

Color values

HEX#8B802E
RGBrgb(139, 128, 46)
HSLhsl(53, 50%, 36%)
HSVhsv(53, 67%, 55%)
CMYKcmyk(0%, 7.9%, 66.9%, 45.5%)
CIE-LABlab(53.09, -6.15, 44.44)
CIE-LCHlch(53.09, 44.86, 97.88°)
OKLaboklab(59.35% -0.0207 0.1006)
OKLCHoklch(59.35% 0.103 101.6)
XYZxyz(18.8605, 21.1253, 5.6684)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B802E #2E398B
analogous
#8B522E #8B802E #688B2E
triadic
#8B802E #2E8B80 #802E8B
tetradic
#8B802E #2E8B52 #2E398B #8B2E68
square
#8B802E #2E8B52 #2E398B #8B2E68
split-complementary
#8B802E #2E688B #522E8B
monochromatic
#2F2B10 #5D561F #8B802E #B9AA3D #CDC167

Accessibility & contrast

On white

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

On black

5.23
#8B802E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B802E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B802E#FFFFFF#000000##000000
##8B802E1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C24
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#95776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b802e;
/* rgb */ color: rgb(139, 128, 46);
/* oklch */ color: oklch(59.3% 0.103 101.6);
Tailwind
colors: {
  custom: {
    50: '#b0a46b',
    500: '#8b802e',
    950: '#000000',
  },
}
SCSS
$custom: #8b802e;
$custom-light: #b0a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b802e",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 52.903,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.10269,
    "h": 101.6
  },
  "luminance": 0.21125
}

Semantic roles & 50–950 ramp

primary
#8B802E
secondary
#616BB3
accent
#5FDA4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B802E

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

Preview Lab → · Contrast checker → · Palette generator →

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