#8B7F1D#8B7F1D

#8B7F1D is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.113 H 102.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8B7F1D
RGBrgb(139, 127, 29)
HSLhsl(53, 65%, 33%)
HSVhsv(53, 79%, 55%)
CMYKcmyk(0%, 8.6%, 79.1%, 45.5%)
CIE-LABlab(52.68, -6.49, 50.86)
CIE-LCHlch(52.68, 51.27, 97.27°)
OKLaboklab(58.99% -0.0236 0.111)
OKLCHoklch(58.99% 0.113 102)
XYZxyz(18.4595, 20.7573, 4.1964)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7F1D #1D298B
analogous
#8B481D #8B7F1D #608B1D
triadic
#8B7F1D #1D8B7F #7F1D8B
tetradic
#8B7F1D #1D8B48 #1D298B #8B1D60
square
#8B7F1D #1D8B48 #1D298B #8B1D60
split-complementary
#8B7F1D #1D608B #481D8B
monochromatic
#262208 #585112 #8B7F1D #BEAD28 #D9C949

Accessibility & contrast

On white

4.08
#8B7F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8B7F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7F1D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7F1D#FFFFFF#000000##000000
##8B7F1D1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B06
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#96756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b7f1d;
/* rgb */ color: rgb(139, 127, 29);
/* oklch */ color: oklch(59.0% 0.113 102.0);
Tailwind
colors: {
  custom: {
    50: '#b0a362',
    500: '#8b7f1d',
    950: '#000000',
  },
}
SCSS
$custom: #8b7f1d;
$custom-light: #b0a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7f1d",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 53.455,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58988,
    "c": 0.11343,
    "h": 102
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#8B7F1D
secondary
#4955BB
accent
#52E83F
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B7F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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