#8D8220#8D8220

#8D8220 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.9% C 0.114 H 102.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8D8220
RGBrgb(141, 130, 32)
HSLhsl(54, 63%, 34%)
HSVhsv(54, 77%, 55%)
CMYKcmyk(0%, 7.8%, 77.3%, 44.7%)
CIE-LABlab(53.74, -7.09, 50.85)
CIE-LCHlch(53.74, 51.34, 97.94°)
OKLaboklab(59.88% -0.0251 0.1115)
OKLCHoklch(59.88% 0.114 102.7)
XYZxyz(19.2287, 21.7331, 4.5483)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8220 #202B8D
analogous
#8D4C20 #8D8220 #628D20
triadic
#8D8220 #208D82 #82208D
tetradic
#8D8220 #208D4C #202B8D #8D2062
square
#8D8220 #208D4C #202B8D #8D2062
split-complementary
#8D8220 #20628D #4C208D
monochromatic
#292609 #5B5415 #8D8220 #BFB02B #D7CA50

Accessibility & contrast

On white

3.93
#8D8220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8D8220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8220
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8220#FFFFFF#000000##000000
##8D82201.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0B
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#98786F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8220;
/* rgb */ color: rgb(141, 130, 32);
/* oklch */ color: oklch(59.9% 0.114 102.7);
Tailwind
colors: {
  custom: {
    50: '#b2a664',
    500: '#8d8220',
    950: '#000000',
  },
}
SCSS
$custom: #8d8220;
$custom-light: #b2a664;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8220",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 53.945,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59881,
    "c": 0.11424,
    "h": 102.7
  },
  "luminance": 0.21732
}

Semantic roles & 50–950 ramp

primary
#8D8220
secondary
#4E59BA
accent
#52E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8220

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

Preview Lab → · Contrast checker → · Palette generator →

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