#8D7828#8D7828

#8D7828 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.7% C 0.101 H 94.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8D7828
RGBrgb(141, 120, 40)
HSLhsl(48, 56%, 35%)
HSVhsv(48, 72%, 55%)
CMYKcmyk(0%, 14.9%, 71.6%, 44.7%)
CIE-LABlab(50.98, -1.12, 44.98)
CIE-LCHlch(50.98, 44.99, 91.42°)
OKLaboklab(57.71% -0.0072 0.1006)
OKLCHoklch(57.71% 0.101 94.1)
XYZxyz(18.0849, 19.2499, 4.7701)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7828 #283D8D
analogous
#8D4628 #8D7828 #6F8D28
triadic
#8D7828 #288D78 #78288D
tetradic
#8D7828 #288D46 #283D8D #8D286F
square
#8D7828 #288D46 #283D8D #8D286F
split-complementary
#8D7828 #286F8D #46288D
monochromatic
#2E270D #5D4F1A #8D7828 #BDA136 #D1B95E

Accessibility & contrast

On white

4.33
#8D7828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8D7828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7828
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7828#FFFFFF#000000##000000
##8D78281.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#986E68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d7828;
/* rgb */ color: rgb(141, 120, 40);
/* oklch */ color: oklch(57.7% 0.101 94.1);
Tailwind
colors: {
  custom: {
    50: '#b29e67',
    500: '#8d7828',
    950: '#000000',
  },
}
SCSS
$custom: #8d7828;
$custom-light: #b29e67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7828",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 47.525,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57707,
    "c": 0.10085,
    "h": 94.1
  },
  "luminance": 0.19249
}

Semantic roles & 50–950 ramp

primary
#8D7828
secondary
#5A6DB7
accent
#68DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7828

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

Preview Lab → · Contrast checker → · Palette generator →

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