#8B881B#8B881B

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

Color values

HEX#8B881B
RGBrgb(139, 136, 27)
HSLhsl(58, 67%, 33%)
HSVhsv(58, 81%, 55%)
CMYKcmyk(0%, 2.2%, 80.6%, 45.5%)
CIE-LABlab(55.25, -11.48, 53.83)
CIE-LCHlch(55.25, 55.04, 102.04°)
OKLaboklab(61.03% -0.0377 0.1169)
OKLCHoklch(61.03% 0.123 107.9)
XYZxyz(19.6502, 23.1771, 4.4752)
Luminance0.2318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B881B #1B1E8B
analogous
#8B501B #8B881B #568B1B
triadic
#8B881B #1B8B88 #881B8B
tetradic
#8B881B #1B8B50 #1B1E8B #8B1B56
square
#8B881B #1B8B50 #1B1E8B #8B1B56
split-complementary
#8B881B #1B568B #501B8B
monochromatic
#252407 #585611 #8B881B #BEBA25 #DBD745

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B881B#FFFFFF#000000##000000
##8B881B1.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)
#968625
Tritanopia (blue-blind)
#967F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b881b;
/* rgb */ color: rgb(139, 136, 27);
/* oklch */ color: oklch(61.0% 0.123 107.9);
Tailwind
colors: {
  custom: {
    50: '#b0aa62',
    500: '#8b881b',
    950: '#000000',
  },
}
SCSS
$custom: #8b881b;
$custom-light: #b0aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b881b",
  "rgb": {
    "r": 139,
    "g": 136,
    "b": 27
  },
  "hsl": {
    "h": 58.393,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61033,
    "c": 0.12285,
    "h": 107.9
  },
  "luminance": 0.23176
}

Semantic roles & 50–950 ramp

primary
#8B881B
secondary
#4549BC
accent
#42EA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B881B

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

Preview Lab → · Contrast checker → · Palette generator →

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