#8B7A2D#8B7A2D

#8B7A2D is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.098 H 96.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8B7A2D
RGBrgb(139, 122, 45)
HSLhsl(49, 51%, 36%)
HSVhsv(49, 68%, 55%)
CMYKcmyk(0%, 12.2%, 67.6%, 45.5%)
CIE-LABlab(51.38, -2.87, 43.09)
CIE-LCHlch(51.38, 43.19, 93.81°)
OKLaboklab(57.99% -0.0115 0.0976)
OKLCHoklch(57.99% 0.098 96.7)
XYZxyz(18.0815, 19.5984, 5.3126)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7A2D #2D3E8B
analogous
#8B4B2D #8B7A2D #6D8B2D
triadic
#8B7A2D #2D8B7A #7A2D8B
tetradic
#8B7A2D #2D8B4B #2D3E8B #8B2D6D
square
#8B7A2D #2D8B4B #2D3E8B #8B2D6D
split-complementary
#8B7A2D #2D6D8B #4B2D8B
monochromatic
#2F290F #5D511E #8B7A2D #B9A33C #CDBA65

Accessibility & contrast

On white

4.27
#8B7A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8B7A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7A2D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7A2D#FFFFFF#000000##000000
##8B7A2D1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#96716A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b7a2d;
/* rgb */ color: rgb(139, 122, 45);
/* oklch */ color: oklch(58.0% 0.098 96.7);
Tailwind
colors: {
  custom: {
    50: '#b0a06a',
    500: '#8b7a2d',
    950: '#000000',
  },
}
SCSS
$custom: #8b7a2d;
$custom-light: #b0a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7a2d",
  "rgb": {
    "r": 139,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 49.149,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57991,
    "c": 0.09823,
    "h": 96.7
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

primary
#8B7A2D
secondary
#606FB4
accent
#67DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8B7A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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