#8D7D1C#8D7D1C

#8D7D1C is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.112 H 99.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8D7D1C
RGBrgb(141, 125, 28)
HSLhsl(52, 67%, 33%)
HSVhsv(52, 80%, 55%)
CMYKcmyk(0%, 11.3%, 80.1%, 44.7%)
CIE-LABlab(52.30, -4.49, 50.93)
CIE-LCHlch(52.30, 51.13, 95.04°)
OKLaboklab(58.73% -0.0181 0.1108)
OKLCHoklch(58.73% 0.112 99.3)
XYZxyz(18.5287, 20.4147, 4.0629)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D1C #1C2C8D
analogous
#8D441C #8D7D1C #658D1C
triadic
#8D7D1C #1C8D7D #7D1C8D
tetradic
#8D7D1C #1C8D44 #1C2C8D #8D1C65
square
#8D7D1C #1C8D44 #1C2C8D #8D1C65
split-complementary
#8D7D1C #1C658D #441C8D
monochromatic
#272208 #5A5012 #8D7D1C #C0AA26 #DBC649

Accessibility & contrast

On white

4.13
#8D7D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8D7D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D1C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D1C#FFFFFF#000000##000000
##8D7D1C1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7904
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#99736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d1c;
/* rgb */ color: rgb(141, 125, 28);
/* oklch */ color: oklch(58.7% 0.112 99.3);
Tailwind
colors: {
  custom: {
    50: '#b2a261',
    500: '#8d7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d1c;
$custom-light: #b2a261;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d1c",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 51.504,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58731,
    "c": 0.11228,
    "h": 99.3
  },
  "luminance": 0.20414
}

Semantic roles & 50–950 ramp

primary
#8D7D1C
secondary
#4859BD
accent
#56EA3E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8D7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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