#8D8621#8D8621

#8D8621 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.117 H 105.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8D8621
RGBrgb(141, 134, 33)
HSLhsl(56, 62%, 34%)
HSVhsv(56, 77%, 55%)
CMYKcmyk(0%, 5%, 76.6%, 44.7%)
CIE-LABlab(54.89, -9.23, 51.56)
CIE-LCHlch(54.89, 52.38, 100.15°)
OKLaboklab(60.8% -0.031 0.1132)
OKLCHoklch(60.8% 0.117 105.3)
XYZxyz(19.7850, 22.8235, 4.8017)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8621 #21288D
analogous
#8D5021 #8D8621 #5E8D21
triadic
#8D8621 #218D86 #86218D
tetradic
#8D8621 #218D50 #21288D #8D215E
square
#8D8621 #218D50 #21288D #8D215E
split-complementary
#8D8621 #215E8D #50218D
monochromatic
#2A280A #5B5715 #8D8621 #BFB52D #D6CE52

Accessibility & contrast

On white

3.77
#8D8621 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8D8621 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8621
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8621#FFFFFF#000000##000000
##8D86211.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810B
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#987C73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8621;
/* rgb */ color: rgb(141, 134, 33);
/* oklch */ color: oklch(60.8% 0.117 105.3);
Tailwind
colors: {
  custom: {
    50: '#b2a865',
    500: '#8d8621',
    950: '#000000',
  },
}
SCSS
$custom: #8d8621;
$custom-light: #b2a865;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8621",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 33
  },
  "hsl": {
    "h": 56.111,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60796,
    "c": 0.11735,
    "h": 105.3
  },
  "luminance": 0.22823
}

Semantic roles & 50–950 ramp

primary
#8D8621
secondary
#5057BA
accent
#4DE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8621

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

Preview Lab → · Contrast checker → · Palette generator →

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