#8D804F#8D804F

#8D804F is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 60.0% C 0.069 H 95.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8D804F
RGBrgb(141, 128, 79)
HSLhsl(47, 28%, 43%)
HSVhsv(47, 44%, 55%)
CMYKcmyk(0%, 9.2%, 44%, 44.7%)
CIE-LABlab(53.67, -2.34, 28.36)
CIE-LCHlch(53.67, 28.45, 94.72°)
OKLaboklab(59.98% -0.0061 0.0691)
OKLCHoklch(59.98% 0.069 95)
XYZxyz(20.1155, 21.6663, 10.5180)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D804F #4F5C8D
analogous
#8D614F #8D804F #7B8D4F
triadic
#8D804F #4F8D80 #804F8D
tetradic
#8D804F #4F8D61 #4F5C8D #8D4F7B
square
#8D804F #4F8D61 #4F5C8D #8D4F7B
split-complementary
#8D804F #4F7B8D #614F8D
monochromatic
#3F3923 #665C39 #8D804F #AD9F6C #C3B994

Accessibility & contrast

On white

3.94
#8D804F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8D804F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D804F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D804F#FFFFFF#000000##000000
##8D804F1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4B
Deuteranopia (green-blind)
#8D8251
Tritanopia (blue-blind)
#967974
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d804f;
/* rgb */ color: rgb(141, 128, 79);
/* oklch */ color: oklch(60.0% 0.069 95.0);
Tailwind
colors: {
  custom: {
    50: '#afa481',
    500: '#8d804f',
    950: '#000000',
  },
}
SCSS
$custom: #8d804f;
$custom-light: #afa481;
$custom-dark: #000000;
JSON
{
  "hex": "#8d804f",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 79
  },
  "hsl": {
    "h": 47.419,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59983,
    "c": 0.06932,
    "h": 95
  },
  "luminance": 0.21666
}

Semantic roles & 50–950 ramp

primary
#8D804F
secondary
#8891AF
accent
#78C463
background
#FAFAF7
surface
#F5F4EE
border
#CFCEC9
text
#110F0A
muted
#807F7C

Preview Lab

Preview with #8D804F

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

Preview Lab → · Contrast checker → · Palette generator →

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