#8D7928#8D7928

#8D7928 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.102 H 95.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8D7928
RGBrgb(141, 121, 40)
HSLhsl(48, 56%, 35%)
HSVhsv(48, 72%, 55%)
CMYKcmyk(0%, 14.2%, 71.6%, 44.7%)
CIE-LABlab(51.26, -1.68, 45.26)
CIE-LCHlch(51.26, 45.29, 92.13°)
OKLaboklab(57.93% -0.0088 0.1012)
OKLCHoklch(57.93% 0.102 95)
XYZxyz(18.2058, 19.4916, 4.8104)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7928 #283C8D
analogous
#8D4628 #8D7928 #6E8D28
triadic
#8D7928 #288D79 #79288D
tetradic
#8D7928 #288D46 #283C8D #8D286E
square
#8D7928 #288D46 #283C8D #8D286E
split-complementary
#8D7928 #286E8D #46288D
monochromatic
#2E270D #5D501A #8D7928 #BDA236 #D1BB5E

Accessibility & contrast

On white

4.29
#8D7928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8D7928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7928
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7928#FFFFFF#000000##000000
##8D79281.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771D
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#986F69
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d7928;
/* rgb */ color: rgb(141, 121, 40);
/* oklch */ color: oklch(57.9% 0.102 95.0);
Tailwind
colors: {
  custom: {
    50: '#b29f67',
    500: '#8d7928',
    950: '#000000',
  },
}
SCSS
$custom: #8d7928;
$custom-light: #b29f67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7928",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 48.119,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57928,
    "c": 0.10157,
    "h": 95
  },
  "luminance": 0.19491
}

Semantic roles & 50–950 ramp

primary
#8D7928
secondary
#5A6CB7
accent
#66DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7928

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

Preview Lab → · Contrast checker → · Palette generator →

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