#8D8524#8D8524

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

Color values

HEX#8D8524
RGBrgb(141, 133, 36)
HSLhsl(55, 59%, 35%)
HSVhsv(55, 74%, 55%)
CMYKcmyk(0%, 5.7%, 74.5%, 44.7%)
CIE-LABlab(54.62, -8.55, 50.20)
CIE-LCHlch(54.62, 50.93, 99.66°)
OKLaboklab(60.59% -0.0288 0.1109)
OKLCHoklch(60.59% 0.115 104.5)
XYZxyz(19.6913, 22.5659, 4.9871)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8524 #242C8D
analogous
#8D5124 #8D8524 #608D24
triadic
#8D8524 #248D85 #85248D
tetradic
#8D8524 #248D51 #242C8D #8D2460
square
#8D8524 #248D51 #242C8D #8D2460
split-complementary
#8D8524 #24608D #51248D
monochromatic
#2B290B #5C5718 #8D8524 #BEB330 #D4CB57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8524#FFFFFF#000000##000000
##8D85241.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)
#918012
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#987C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8524;
/* rgb */ color: rgb(141, 133, 36);
/* oklch */ color: oklch(60.6% 0.115 104.5);
Tailwind
colors: {
  custom: {
    50: '#b2a866',
    500: '#8d8524',
    950: '#000000',
  },
}
SCSS
$custom: #8d8524;
$custom-light: #b2a866;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8524",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 55.429,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60589,
    "c": 0.11455,
    "h": 104.5
  },
  "luminance": 0.22565
}

Semantic roles & 50–950 ramp

primary
#8D8524
secondary
#545CB8
accent
#51E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8524

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

Preview Lab → · Contrast checker → · Palette generator →

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