#8D8422#8D8422

#8D8422 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.115 H 104.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8D8422
RGBrgb(141, 132, 34)
HSLhsl(55, 61%, 34%)
HSVhsv(55, 76%, 55%)
CMYKcmyk(0%, 6.4%, 75.9%, 44.7%)
CIE-LABlab(54.32, -8.10, 50.67)
CIE-LCHlch(54.32, 51.31, 99.08°)
OKLaboklab(60.35% -0.0277 0.1115)
OKLCHoklch(60.35% 0.115 104)
XYZxyz(19.5254, 22.2815, 4.7853)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8422 #222B8D
analogous
#8D4F22 #8D8422 #618D22
triadic
#8D8422 #228D84 #84228D
tetradic
#8D8422 #228D4F #222B8D #8D2261
square
#8D8422 #228D4F #222B8D #8D2261
split-complementary
#8D8422 #22618D #4F228D
monochromatic
#2A280A #5C5616 #8D8422 #BEB22E #D6CB54

Accessibility & contrast

On white

3.85
#8D8422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8D8422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8422
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8422#FFFFFF#000000##000000
##8D84221.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#987A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8422;
/* rgb */ color: rgb(141, 132, 34);
/* oklch */ color: oklch(60.3% 0.115 104.0);
Tailwind
colors: {
  custom: {
    50: '#b2a765',
    500: '#8d8422',
    950: '#000000',
  },
}
SCSS
$custom: #8d8422;
$custom-light: #b2a765;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8422",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 54.953,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60347,
    "c": 0.11487,
    "h": 104
  },
  "luminance": 0.22281
}

Semantic roles & 50–950 ramp

primary
#8D8422
secondary
#515AB9
accent
#51E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8422

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

Preview Lab → · Contrast checker → · Palette generator →

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