#8D7827#8D7827

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

Color values

HEX#8D7827
RGBrgb(141, 120, 39)
HSLhsl(48, 57%, 35%)
HSVhsv(48, 72%, 55%)
CMYKcmyk(0%, 14.9%, 72.3%, 44.7%)
CIE-LABlab(50.97, -1.17, 45.40)
CIE-LCHlch(50.97, 45.41, 91.48°)
OKLaboklab(57.7% -0.0075 0.1013)
OKLCHoklch(57.7% 0.102 94.2)
XYZxyz(18.0681, 19.2431, 4.6817)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7827 #273C8D
analogous
#8D4527 #8D7827 #6F8D27
triadic
#8D7827 #278D78 #78278D
tetradic
#8D7827 #278D45 #273C8D #8D276F
square
#8D7827 #278D45 #273C8D #8D276F
split-complementary
#8D7827 #276F8D #45278D
monochromatic
#2D260C #5D4F1A #8D7827 #BDA134 #D2BA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7827#FFFFFF#000000##000000
##8D78271.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)
#85761B
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#996E68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d7827;
/* rgb */ color: rgb(141, 120, 39);
/* oklch */ color: oklch(57.7% 0.102 94.2);
Tailwind
colors: {
  custom: {
    50: '#b29e66',
    500: '#8d7827',
    950: '#000000',
  },
}
SCSS
$custom: #8d7827;
$custom-light: #b29e66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7827",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 39
  },
  "hsl": {
    "h": 47.647,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57698,
    "c": 0.10158,
    "h": 94.2
  },
  "luminance": 0.19242
}

Semantic roles & 50–950 ramp

primary
#8D7827
secondary
#596CB7
accent
#67E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7827

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

Preview Lab → · Contrast checker → · Palette generator →

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