#8D7D1B#8D7D1B

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

Color values

HEX#8D7D1B
RGBrgb(141, 125, 27)
HSLhsl(52, 68%, 33%)
HSVhsv(52, 81%, 55%)
CMYKcmyk(0%, 11.3%, 80.9%, 44.7%)
CIE-LABlab(52.30, -4.53, 51.26)
CIE-LCHlch(52.30, 51.46, 95.05°)
OKLaboklab(58.73% -0.0183 0.1113)
OKLCHoklch(58.73% 0.113 99.4)
XYZxyz(18.5169, 20.4100, 4.0009)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D1B #1B2B8D
analogous
#8D441B #8D7D1B #648D1B
triadic
#8D7D1B #1B8D7D #7D1B8D
tetradic
#8D7D1B #1B8D44 #1B2B8D #8D1B64
square
#8D7D1B #1B8D44 #1B2B8D #8D1B64
split-complementary
#8D7D1B #1B648D #441B8D
monochromatic
#262207 #5A4F11 #8D7D1B #C0AB25 #DCC747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7D1B#FFFFFF#000000##000000
##8D7D1B1.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)
#8A7902
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#99736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d1b;
/* rgb */ color: rgb(141, 125, 27);
/* oklch */ color: oklch(58.7% 0.113 99.4);
Tailwind
colors: {
  custom: {
    50: '#b2a261',
    500: '#8d7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d1b;
$custom-light: #b2a261;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d1b",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 51.579,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58725,
    "c": 0.11281,
    "h": 99.4
  },
  "luminance": 0.20409
}

Semantic roles & 50–950 ramp

primary
#8D7D1B
secondary
#4657BD
accent
#55EB3D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8D7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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