#8D8522#8D8522

#8D8522 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.116 H 104.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8D8522
RGBrgb(141, 133, 34)
HSLhsl(56, 61%, 34%)
HSVhsv(56, 76%, 55%)
CMYKcmyk(0%, 5.7%, 75.9%, 44.7%)
CIE-LABlab(54.61, -8.65, 50.94)
CIE-LCHlch(54.61, 51.67, 99.63°)
OKLaboklab(60.58% -0.0292 0.1121)
OKLCHoklch(60.58% 0.116 104.6)
XYZxyz(19.6616, 22.5541, 4.8308)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8522 #222A8D
analogous
#8D5022 #8D8522 #608D22
triadic
#8D8522 #228D85 #85228D
tetradic
#8D8522 #228D50 #222A8D #8D2260
square
#8D8522 #228D50 #222A8D #8D2260
split-complementary
#8D8522 #22608D #50228D
monochromatic
#2A280A #5C5616 #8D8522 #BEB42E #D6CC54

Accessibility & contrast

On white

3.81
#8D8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8D8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8522
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8522#FFFFFF#000000##000000
##8D85221.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#948529
Tritanopia (blue-blind)
#987B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8522;
/* rgb */ color: rgb(141, 133, 34);
/* oklch */ color: oklch(60.6% 0.116 104.6);
Tailwind
colors: {
  custom: {
    50: '#b2a865',
    500: '#8d8522',
    950: '#000000',
  },
}
SCSS
$custom: #8d8522;
$custom-light: #b2a865;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8522",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 55.514,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60575,
    "c": 0.1158,
    "h": 104.6
  },
  "luminance": 0.22553
}

Semantic roles & 50–950 ramp

primary
#8D8522
secondary
#5159B9
accent
#50E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8522

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

Preview Lab → · Contrast checker → · Palette generator →

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