#8B881D#8B881D

#8B881D is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 61.0% C 0.122 H 107.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8B881D
RGBrgb(139, 136, 29)
HSLhsl(58, 65%, 33%)
HSVhsv(58, 79%, 55%)
CMYKcmyk(0%, 2.2%, 79.1%, 45.5%)
CIE-LABlab(55.26, -11.40, 53.21)
CIE-LCHlch(55.26, 54.41, 102.09°)
OKLaboklab(61.04% -0.0373 0.116)
OKLCHoklch(61.04% 0.122 107.8)
XYZxyz(19.6742, 23.1867, 4.6013)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B881D #1D208B
analogous
#8B511D #8B881D #578B1D
triadic
#8B881D #1D8B88 #881D8B
tetradic
#8B881D #1D8B51 #1D208B #8B1D57
square
#8B881D #1D8B51 #1D208B #8B1D57
split-complementary
#8B881D #1D578B #511D8B
monochromatic
#262508 #585612 #8B881D #BEBA28 #D9D549

Accessibility & contrast

On white

3.73
#8B881D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8B881D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B881D
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B881D#FFFFFF#000000##000000
##8B881D1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#967F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b881d;
/* rgb */ color: rgb(139, 136, 29);
/* oklch */ color: oklch(61.0% 0.122 107.8);
Tailwind
colors: {
  custom: {
    50: '#b0aa63',
    500: '#8b881d',
    950: '#000000',
  },
}
SCSS
$custom: #8b881d;
$custom-light: #b0aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#8b881d",
  "rgb": {
    "r": 139,
    "g": 136,
    "b": 29
  },
  "hsl": {
    "h": 58.364,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61044,
    "c": 0.12183,
    "h": 107.8
  },
  "luminance": 0.23186
}

Semantic roles & 50–950 ramp

primary
#8B881D
secondary
#494CBB
accent
#44E83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B881D

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

Preview Lab → · Contrast checker → · Palette generator →

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