#8D8820#8D8820

#8D8820 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.120 H 106.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8D8820
RGBrgb(141, 136, 32)
HSLhsl(57, 63%, 34%)
HSVhsv(57, 77%, 55%)
CMYKcmyk(0%, 3.5%, 77.3%, 44.7%)
CIE-LABlab(55.46, -10.36, 52.44)
CIE-LCHlch(55.46, 53.46, 101.18°)
OKLaboklab(61.25% -0.0342 0.1149)
OKLCHoklch(61.25% 0.12 106.6)
XYZxyz(20.0502, 23.3761, 4.8221)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8820 #20258D
analogous
#8D5220 #8D8820 #5C8D20
triadic
#8D8820 #208D88 #88208D
tetradic
#8D8820 #208D52 #20258D #8D205C
square
#8D8820 #208D52 #20258D #8D205C
split-complementary
#8D8820 #205C8D #52208D
monochromatic
#292809 #5B5815 #8D8820 #BFB82B #D7D150

Accessibility & contrast

On white

3.70
#8D8820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8D8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8820
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8820#FFFFFF#000000##000000
##8D88201.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948308
Deuteranopia (green-blind)
#968728
Tritanopia (blue-blind)
#987E74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d8820;
/* rgb */ color: rgb(141, 136, 32);
/* oklch */ color: oklch(61.2% 0.120 106.6);
Tailwind
colors: {
  custom: {
    50: '#b2aa65',
    500: '#8d8820',
    950: '#000000',
  },
}
SCSS
$custom: #8d8820;
$custom-light: #b2aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8820",
  "rgb": {
    "r": 141,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 57.248,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61246,
    "c": 0.11985,
    "h": 106.6
  },
  "luminance": 0.23375
}

Semantic roles & 50–950 ramp

primary
#8D8820
secondary
#4E53BA
accent
#49E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8820

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

Preview Lab → · Contrast checker → · Palette generator →

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