#8D8622#8D8622

#8D8622 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.57:1 contrast (WCAG AA passes).

Color values

HEX#8D8622
RGBrgb(141, 134, 34)
HSLhsl(56, 61%, 34%)
HSVhsv(56, 76%, 55%)
CMYKcmyk(0%, 5%, 75.9%, 44.7%)
CIE-LABlab(54.90, -9.19, 51.21)
CIE-LCHlch(54.90, 52.03, 100.17°)
OKLaboklab(60.8% -0.0308 0.1126)
OKLCHoklch(60.8% 0.117 105.3)
XYZxyz(19.7992, 22.8292, 4.8766)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8622 #22298D
analogous
#8D5122 #8D8622 #5F8D22
triadic
#8D8622 #228D86 #86228D
tetradic
#8D8622 #228D51 #22298D #8D225F
square
#8D8622 #228D51 #22298D #8D225F
split-complementary
#8D8622 #225F8D #51228D
monochromatic
#2A280A #5C5716 #8D8622 #BEB52E #D6CD54

Accessibility & contrast

On white

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

On black

5.57
#8D8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8622
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8622#FFFFFF#000000##000000
##8D86221.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d8622;
/* rgb */ color: rgb(141, 134, 34);
/* oklch */ color: oklch(60.8% 0.117 105.3);
Tailwind
colors: {
  custom: {
    50: '#b2a865',
    500: '#8d8622',
    950: '#000000',
  },
}
SCSS
$custom: #8d8622;
$custom-light: #b2a865;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8622",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 56.075,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60802,
    "c": 0.11675,
    "h": 105.3
  },
  "luminance": 0.22828
}

Semantic roles & 50–950 ramp

primary
#8D8622
secondary
#5158B9
accent
#4EE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8622

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

Preview Lab → · Contrast checker → · Palette generator →

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