#8B892A#8B892A

#8B892A is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.115 H 108.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8B892A
RGBrgb(139, 137, 42)
HSLhsl(59, 54%, 35%)
HSVhsv(59, 70%, 55%)
CMYKcmyk(0%, 1.4%, 69.8%, 45.5%)
CIE-LABlab(55.63, -11.31, 48.77)
CIE-LCHlch(55.63, 50.06, 103.05°)
OKLaboklab(61.36% -0.0358 0.109)
OKLCHoklch(61.36% 0.115 108.2)
XYZxyz(20.0118, 23.5481, 5.6811)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B892A #2A2C8B
analogous
#8B582A #8B892A #5C8B2A
triadic
#8B892A #2A8B89 #892A8B
tetradic
#8B892A #2A8B58 #2A2C8B #8B2A5C
square
#8B892A #2A8B58 #2A2C8B #8B2A5C
split-complementary
#8B892A #2A5C8B #582A8B
monochromatic
#2D2C0E #5C5B1C #8B892A #BAB738 #CFCD60

Accessibility & contrast

On white

3.68
#8B892A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8B892A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B892A
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B892A#FFFFFF#000000##000000
##8B892A1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831C
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#958076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b892a;
/* rgb */ color: rgb(139, 137, 42);
/* oklch */ color: oklch(61.4% 0.115 108.2);
Tailwind
colors: {
  custom: {
    50: '#b0ab6a',
    500: '#8b892a',
    950: '#000000',
  },
}
SCSS
$custom: #8b892a;
$custom-light: #b0ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b892a",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 42
  },
  "hsl": {
    "h": 58.763,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61363,
    "c": 0.11476,
    "h": 108.2
  },
  "luminance": 0.23547
}

Semantic roles & 50–950 ramp

primary
#8B892A
secondary
#5C5EB5
accent
#4EDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B892A

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

Preview Lab → · Contrast checker → · Palette generator →

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