#8B7F2D#8B7F2D

#8B7F2D is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.103 H 100.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8B7F2D
RGBrgb(139, 127, 45)
HSLhsl(52, 51%, 36%)
HSVhsv(52, 68%, 55%)
CMYKcmyk(0%, 8.6%, 67.6%, 45.5%)
CIE-LABlab(52.79, -5.66, 44.58)
CIE-LCHlch(52.79, 44.94, 97.24°)
OKLaboklab(59.11% -0.0194 0.1007)
OKLCHoklch(59.11% 0.103 100.9)
XYZxyz(18.7113, 20.8580, 5.5225)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7F2D #2D398B
analogous
#8B502D #8B7F2D #688B2D
triadic
#8B7F2D #2D8B7F #7F2D8B
tetradic
#8B7F2D #2D8B50 #2D398B #8B2D68
square
#8B7F2D #2D8B50 #2D398B #8B2D68
split-complementary
#8B7F2D #2D688B #502D8B
monochromatic
#2F2B0F #5D551E #8B7F2D #B9A93C #CDC065

Accessibility & contrast

On white

4.06
#8B7F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8B7F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7F2D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7F2D#FFFFFF#000000##000000
##8B7F2D1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B22
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#96766E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b7f2d;
/* rgb */ color: rgb(139, 127, 45);
/* oklch */ color: oklch(59.1% 0.103 100.9);
Tailwind
colors: {
  custom: {
    50: '#b0a36a',
    500: '#8b7f2d',
    950: '#000000',
  },
}
SCSS
$custom: #8b7f2d;
$custom-light: #b0a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7f2d",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 52.34,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59112,
    "c": 0.10257,
    "h": 100.9
  },
  "luminance": 0.20857
}

Semantic roles & 50–950 ramp

primary
#8B7F2D
secondary
#606BB4
accent
#5FDB4D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B7F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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