#8B7E2D#8B7E2D

#8B7E2D is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.102 H 100.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8B7E2D
RGBrgb(139, 126, 45)
HSLhsl(52, 51%, 36%)
HSVhsv(52, 68%, 55%)
CMYKcmyk(0%, 9.4%, 67.6%, 45.5%)
CIE-LABlab(52.51, -5.10, 44.28)
CIE-LCHlch(52.51, 44.57, 96.58°)
OKLaboklab(58.89% -0.0179 0.1001)
OKLCHoklch(58.89% 0.102 100.1)
XYZxyz(18.5828, 20.6010, 5.4797)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E2D #2D3A8B
analogous
#8B4F2D #8B7E2D #698B2D
triadic
#8B7E2D #2D8B7E #7E2D8B
tetradic
#8B7E2D #2D8B4F #2D3A8B #8B2D69
square
#8B7E2D #2D8B4F #2D3A8B #8B2D69
split-complementary
#8B7E2D #2D698B #4F2D8B
monochromatic
#2F2A0F #5D541E #8B7E2D #B9A83C #CDBF65

Accessibility & contrast

On white

4.10
#8B7E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8B7E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7E2D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7E2D#FFFFFF#000000##000000
##8B7E2D1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A23
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#96756D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b7e2d;
/* rgb */ color: rgb(139, 126, 45);
/* oklch */ color: oklch(58.9% 0.102 100.1);
Tailwind
colors: {
  custom: {
    50: '#b0a36a',
    500: '#8b7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e2d;
$custom-light: #b0a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e2d",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 51.702,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58887,
    "c": 0.10166,
    "h": 100.1
  },
  "luminance": 0.206
}

Semantic roles & 50–950 ramp

primary
#8B7E2D
secondary
#606CB4
accent
#61DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8B7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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