#8B893E#8B893E

#8B893E is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.6% C 0.098 H 107.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8B893E
RGBrgb(139, 137, 62)
HSLhsl(58, 38%, 39%)
HSVhsv(58, 55%, 55%)
CMYKcmyk(0%, 1.4%, 55.4%, 45.5%)
CIE-LABlab(55.82, -9.87, 39.85)
CIE-LCHlch(55.82, 41.05, 103.92°)
OKLaboklab(61.57% -0.0294 0.093)
OKLCHoklch(61.57% 0.098 107.6)
XYZxyz(20.4632, 23.7287, 8.0586)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B893E #3E408B
analogous
#8B633E #8B893E #678B3E
triadic
#8B893E #3E8B89 #893E8B
tetradic
#8B893E #3E8B63 #3E408B #8B3E67
square
#8B893E #3E8B63 #3E408B #8B3E67
split-complementary
#8B893E #3E678B #633E8B
monochromatic
#363618 #615F2B #8B893E #B3B054 #C5C47E

Accessibility & contrast

On white

3.65
#8B893E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8B893E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B893E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B893E#FFFFFF#000000##000000
##8B893E1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938437
Deuteranopia (green-blind)
#958742
Tritanopia (blue-blind)
#948178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8b893e;
/* rgb */ color: rgb(139, 137, 62);
/* oklch */ color: oklch(61.6% 0.098 107.6);
Tailwind
colors: {
  custom: {
    50: '#afab76',
    500: '#8b893e',
    950: '#000000',
  },
}
SCSS
$custom: #8b893e;
$custom-light: #afab76;
$custom-dark: #000000;
JSON
{
  "hex": "#8b893e",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 62
  },
  "hsl": {
    "h": 58.442,
    "s": 38.308,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61567,
    "c": 0.09758,
    "h": 107.6
  },
  "luminance": 0.23728
}

Semantic roles & 50–950 ramp

primary
#8B893E
secondary
#7577B0
accent
#5DCE5A
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8B893E

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

Preview Lab → · Contrast checker → · Palette generator →

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