#8D711B#8D711B

#8D711B is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.1% C 0.105 H 89.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8D711B
RGBrgb(141, 113, 27)
HSLhsl(45, 68%, 33%)
HSVhsv(45, 81%, 55%)
CMYKcmyk(0%, 19.9%, 80.9%, 44.7%)
CIE-LABlab(48.95, 2.25, 48.24)
CIE-LCHlch(48.95, 48.29, 87.33°)
OKLaboklab(56.08% 0.0009 0.1048)
OKLCHoklch(56.08% 0.105 89.5)
XYZxyz(17.0885, 17.5532, 3.5248)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D711B #1B378D
analogous
#8D381B #8D711B #708D1B
triadic
#8D711B #1B8D71 #711B8D
tetradic
#8D711B #1B8D38 #1B378D #8D1B70
square
#8D711B #1B8D38 #1B378D #8D1B70
split-complementary
#8D711B #1B708D #381B8D
monochromatic
#261F07 #5A4811 #8D711B #C09A25 #DCB747

Accessibility & contrast

On white

4.66
#8D711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8D711B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D711B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D711B#FFFFFF#000000##FFFFFF
##8D711B1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7008
Deuteranopia (green-blind)
#867820
Tritanopia (blue-blind)
#996761
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d711b;
/* rgb */ color: rgb(141, 113, 27);
/* oklch */ color: oklch(56.1% 0.105 89.5);
Tailwind
colors: {
  custom: {
    50: '#b2995f',
    500: '#8d711b',
    950: '#000000',
  },
}
SCSS
$custom: #8d711b;
$custom-light: #b2995f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d711b",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 45.263,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56078,
    "c": 0.10482,
    "h": 89.5
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

primary
#8D711B
secondary
#4664BD
accent
#68EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8D711B

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

Preview Lab → · Contrast checker → · Palette generator →

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