#8D7727#8D7727

#8D7727 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.101 H 93.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8D7727
RGBrgb(141, 119, 39)
HSLhsl(47, 57%, 35%)
HSVhsv(47, 72%, 55%)
CMYKcmyk(0%, 15.6%, 72.3%, 44.7%)
CIE-LABlab(50.69, -0.61, 45.12)
CIE-LCHlch(50.69, 45.12, 90.77°)
OKLaboklab(57.48% -0.0059 0.1007)
OKLCHoklch(57.48% 0.101 93.3)
XYZxyz(17.9485, 19.0039, 4.6418)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7727 #273D8D
analogous
#8D4427 #8D7727 #708D27
triadic
#8D7727 #278D77 #77278D
tetradic
#8D7727 #278D44 #273D8D #8D2770
square
#8D7727 #278D44 #273D8D #8D2770
split-complementary
#8D7727 #27708D #44278D
monochromatic
#2D260C #5D4F1A #8D7727 #BD9F34 #D2B95C

Accessibility & contrast

On white

4.37
#8D7727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8D7727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7727
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7727#FFFFFF#000000##000000
##8D77271.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#996D67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d7727;
/* rgb */ color: rgb(141, 119, 39);
/* oklch */ color: oklch(57.5% 0.101 93.3);
Tailwind
colors: {
  custom: {
    50: '#b29d66',
    500: '#8d7727',
    950: '#000000',
  },
}
SCSS
$custom: #8d7727;
$custom-light: #b29d66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7727",
  "rgb": {
    "r": 141,
    "g": 119,
    "b": 39
  },
  "hsl": {
    "h": 47.059,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57478,
    "c": 0.10087,
    "h": 93.3
  },
  "luminance": 0.19003
}

Semantic roles & 50–950 ramp

primary
#8D7727
secondary
#596DB7
accent
#69E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7727

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

Preview Lab → · Contrast checker → · Palette generator →

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