#8D7E1B#8D7E1B

#8D7E1B is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.114 H 100.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8D7E1B
RGBrgb(141, 126, 27)
HSLhsl(52, 68%, 33%)
HSVhsv(52, 81%, 55%)
CMYKcmyk(0%, 10.6%, 80.9%, 44.7%)
CIE-LABlab(52.58, -5.09, 51.52)
CIE-LCHlch(52.58, 51.77, 95.64°)
OKLaboklab(58.95% -0.0199 0.1119)
OKLCHoklch(58.95% 0.114 100.1)
XYZxyz(18.6441, 20.6645, 4.0433)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E1B #1B2A8D
analogous
#8D451B #8D7E1B #638D1B
triadic
#8D7E1B #1B8D7E #7E1B8D
tetradic
#8D7E1B #1B8D45 #1B2A8D #8D1B63
square
#8D7E1B #1B8D45 #1B2A8D #8D1B63
split-complementary
#8D7E1B #1B638D #451B8D
monochromatic
#262207 #5A5011 #8D7E1B #C0AC25 #DCC847

Accessibility & contrast

On white

4.09
#8D7E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8D7E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E1B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E1B#FFFFFF#000000##000000
##8D7E1B1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A02
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#99746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7e1b;
/* rgb */ color: rgb(141, 126, 27);
/* oklch */ color: oklch(58.9% 0.114 100.1);
Tailwind
colors: {
  custom: {
    50: '#b2a361',
    500: '#8d7e1b',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e1b;
$custom-light: #b2a361;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e1b",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 52.105,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58949,
    "c": 0.11362,
    "h": 100.1
  },
  "luminance": 0.20664
}

Semantic roles & 50–950 ramp

primary
#8D7E1B
secondary
#4656BD
accent
#54EB3D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8D7E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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