#8D7A1B#8D7A1B

#8D7A1B is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.111 H 97.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D7A1B
RGBrgb(141, 122, 27)
HSLhsl(50, 68%, 33%)
HSVhsv(50, 81%, 55%)
CMYKcmyk(0%, 13.5%, 80.9%, 44.7%)
CIE-LABlab(51.45, -2.86, 50.51)
CIE-LCHlch(51.45, 50.59, 93.24°)
OKLaboklab(58.06% -0.0136 0.1097)
OKLCHoklch(58.06% 0.111 97.1)
XYZxyz(18.1428, 19.6619, 3.8762)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A1B #1B2E8D
analogous
#8D411B #8D7A1B #678D1B
triadic
#8D7A1B #1B8D7A #7A1B8D
tetradic
#8D7A1B #1B8D41 #1B2E8D #8D1B67
square
#8D7A1B #1B8D41 #1B2E8D #8D1B67
split-complementary
#8D7A1B #1B678D #411B8D
monochromatic
#262107 #5A4E11 #8D7A1B #C0A625 #DCC347

Accessibility & contrast

On white

4.26
#8D7A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8D7A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7A1B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7A1B#FFFFFF#000000##000000
##8D7A1B1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#8C7D22
Tritanopia (blue-blind)
#997068
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a1b;
/* rgb */ color: rgb(141, 122, 27);
/* oklch */ color: oklch(58.1% 0.111 97.1);
Tailwind
colors: {
  custom: {
    50: '#b2a060',
    500: '#8d7a1b',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a1b;
$custom-light: #b2a060;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a1b",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 50,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58055,
    "c": 0.11052,
    "h": 97.1
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#8D7A1B
secondary
#465ABD
accent
#5AEB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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