#8D7728#8D7728

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

Color values

HEX#8D7728
RGBrgb(141, 119, 40)
HSLhsl(47, 56%, 35%)
HSVhsv(47, 72%, 55%)
CMYKcmyk(0%, 15.6%, 71.6%, 44.7%)
CIE-LABlab(50.70, -0.55, 44.69)
CIE-LCHlch(50.70, 44.70, 90.71°)
OKLaboklab(57.49% -0.0056 0.1)
OKLCHoklch(57.49% 0.1 93.2)
XYZxyz(17.9653, 19.0106, 4.7302)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7728 #283E8D
analogous
#8D4528 #8D7728 #708D28
triadic
#8D7728 #288D77 #77288D
tetradic
#8D7728 #288D45 #283E8D #8D2870
square
#8D7728 #288D45 #283E8D #8D2870
split-complementary
#8D7728 #28708D #45288D
monochromatic
#2E270D #5D4F1A #8D7728 #BD9F36 #D1B85E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7728#FFFFFF#000000##000000
##8D77281.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)
#84751D
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#996D67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d7728;
/* rgb */ color: rgb(141, 119, 40);
/* oklch */ color: oklch(57.5% 0.100 93.2);
Tailwind
colors: {
  custom: {
    50: '#b29d67',
    500: '#8d7728',
    950: '#000000',
  },
}
SCSS
$custom: #8d7728;
$custom-light: #b29d67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7728",
  "rgb": {
    "r": 141,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 46.931,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57487,
    "c": 0.10015,
    "h": 93.2
  },
  "luminance": 0.1901
}

Semantic roles & 50–950 ramp

primary
#8D7728
secondary
#5A6EB7
accent
#69DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7728

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

Preview Lab → · Contrast checker → · Palette generator →

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