#8B7B2F#8B7B2F

#8B7B2F is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.097 H 97.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8B7B2F
RGBrgb(139, 123, 47)
HSLhsl(50, 49%, 36%)
HSVhsv(50, 66%, 55%)
CMYKcmyk(0%, 11.5%, 66.2%, 45.5%)
CIE-LABlab(51.68, -3.30, 42.48)
CIE-LCHlch(51.68, 42.61, 94.44°)
OKLaboklab(58.23% -0.0124 0.0966)
OKLCHoklch(58.23% 0.097 97.3)
XYZxyz(18.2443, 19.8610, 5.5613)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7B2F #2F3F8B
analogous
#8B4D2F #8B7B2F #6D8B2F
triadic
#8B7B2F #2F8B7B #7B2F8B
tetradic
#8B7B2F #2F8B4D #2F3F8B #8B2F6D
square
#8B7B2F #2F8B4D #2F3F8B #8B2F6D
split-complementary
#8B7B2F #2F6D8B #4D2F8B
monochromatic
#302A10 #5D5320 #8B7B2F #B9A33E #CCBB68

Accessibility & contrast

On white

4.22
#8B7B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8B7B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7B2F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7B2F#FFFFFF#000000##000000
##8B7B2F1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#8B7E33
Tritanopia (blue-blind)
#96726B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b7b2f;
/* rgb */ color: rgb(139, 123, 47);
/* oklch */ color: oklch(58.2% 0.097 97.3);
Tailwind
colors: {
  custom: {
    50: '#b0a06b',
    500: '#8b7b2f',
    950: '#000000',
  },
}
SCSS
$custom: #8b7b2f;
$custom-light: #b0a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7b2f",
  "rgb": {
    "r": 139,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 49.565,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.09741,
    "h": 97.3
  },
  "luminance": 0.1986
}

Semantic roles & 50–950 ramp

primary
#8B7B2F
secondary
#6371B3
accent
#67D94F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8B7B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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