#8D7C1B#8D7C1B

#8D7C1B is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.112 H 98.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D7C1B
RGBrgb(141, 124, 27)
HSLhsl(51, 68%, 33%)
HSVhsv(51, 81%, 55%)
CMYKcmyk(0%, 12.1%, 80.9%, 44.7%)
CIE-LABlab(52.02, -3.97, 51.01)
CIE-LCHlch(52.02, 51.17, 94.46°)
OKLaboklab(58.5% -0.0168 0.1108)
OKLCHoklch(58.5% 0.112 98.6)
XYZxyz(18.3909, 20.1581, 3.9589)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C1B #1B2C8D
analogous
#8D431B #8D7C1B #658D1B
triadic
#8D7C1B #1B8D7C #7C1B8D
tetradic
#8D7C1B #1B8D43 #1B2C8D #8D1B65
square
#8D7C1B #1B8D43 #1B2C8D #8D1B65
split-complementary
#8D7C1B #1B658D #431B8D
monochromatic
#262207 #5A4F11 #8D7C1B #C0A925 #DCC547

Accessibility & contrast

On white

4.17
#8D7C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8D7C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C1B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C1B#FFFFFF#000000##000000
##8D7C1B1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897903
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#99726A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c1b;
/* rgb */ color: rgb(141, 124, 27);
/* oklch */ color: oklch(58.5% 0.112 98.6);
Tailwind
colors: {
  custom: {
    50: '#b2a161',
    500: '#8d7c1b',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c1b;
$custom-light: #b2a161;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c1b",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 51.053,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.11203,
    "h": 98.6
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#8D7C1B
secondary
#4658BD
accent
#57EB3D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D7C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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