#8B892F#8B892F

#8B892F is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.111 H 108.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8B892F
RGBrgb(139, 137, 47)
HSLhsl(59, 49%, 36%)
HSVhsv(59, 66%, 55%)
CMYKcmyk(0%, 1.4%, 66.2%, 45.5%)
CIE-LABlab(55.67, -11.00, 46.70)
CIE-LCHlch(55.67, 47.98, 103.26°)
OKLaboklab(61.41% -0.0344 0.1055)
OKLCHoklch(61.41% 0.111 108)
XYZxyz(20.1069, 23.5861, 6.1822)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B892F #2F318B
analogous
#8B5B2F #8B892F #5F8B2F
triadic
#8B892F #2F8B89 #892F8B
tetradic
#8B892F #2F8B5B #2F318B #8B2F5F
square
#8B892F #2F8B5B #2F318B #8B2F5F
split-complementary
#8B892F #2F5F8B #5B2F8B
monochromatic
#302F10 #5D5C20 #8B892F #B9B63E #CCCA68

Accessibility & contrast

On white

3.67
#8B892F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8B892F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B892F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B892F#FFFFFF#000000##000000
##8B892F1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948423
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#958076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b892f;
/* rgb */ color: rgb(139, 137, 47);
/* oklch */ color: oklch(61.4% 0.111 108.0);
Tailwind
colors: {
  custom: {
    50: '#b0ab6c',
    500: '#8b892f',
    950: '#000000',
  },
}
SCSS
$custom: #8b892f;
$custom-light: #b0ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b892f",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 47
  },
  "hsl": {
    "h": 58.696,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61406,
    "c": 0.11098,
    "h": 108
  },
  "luminance": 0.23586
}

Semantic roles & 50–950 ramp

primary
#8B892F
secondary
#6364B3
accent
#52D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B892F

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

Preview Lab → · Contrast checker → · Palette generator →

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