#8B891C#8B891C

#8B891C is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.123 H 108.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8B891C
RGBrgb(139, 137, 28)
HSLhsl(59, 66%, 33%)
HSVhsv(59, 80%, 55%)
CMYKcmyk(0%, 1.4%, 79.9%, 45.5%)
CIE-LABlab(55.55, -11.98, 53.78)
CIE-LCHlch(55.55, 55.10, 102.56°)
OKLaboklab(61.27% -0.039 0.117)
OKLCHoklch(61.27% 0.123 108.4)
XYZxyz(19.8035, 23.4648, 4.5844)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B891C #1C1E8B
analogous
#8B511C #8B891C #558B1C
triadic
#8B891C #1C8B89 #891C8B
tetradic
#8B891C #1C8B51 #1C1E8B #8B1C55
square
#8B891C #1C8B51 #1C1E8B #8B1C55
split-complementary
#8B891C #1C558B #511C8B
monochromatic
#252507 #585712 #8B891C #BEBB26 #DAD747

Accessibility & contrast

On white

3.69
#8B891C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8B891C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B891C
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B891C#FFFFFF#000000##000000
##8B891C1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#968075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b891c;
/* rgb */ color: rgb(139, 137, 28);
/* oklch */ color: oklch(61.3% 0.123 108.4);
Tailwind
colors: {
  custom: {
    50: '#b0ab63',
    500: '#8b891c',
    950: '#000000',
  },
}
SCSS
$custom: #8b891c;
$custom-light: #b0ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#8b891c",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 58.919,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61269,
    "c": 0.12334,
    "h": 108.4
  },
  "luminance": 0.23464
}

Semantic roles & 50–950 ramp

primary
#8B891C
secondary
#4749BC
accent
#41E93E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B891C

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

Preview Lab → · Contrast checker → · Palette generator →

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