#8D8528#8D8528

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

Color values

HEX#8D8528
RGBrgb(141, 133, 40)
HSLhsl(55, 56%, 35%)
HSVhsv(55, 72%, 55%)
CMYKcmyk(0%, 5.7%, 71.6%, 44.7%)
CIE-LABlab(54.65, -8.34, 48.66)
CIE-LCHlch(54.65, 49.37, 99.73°)
OKLaboklab(60.62% -0.0278 0.1084)
OKLCHoklch(60.62% 0.112 104.4)
XYZxyz(19.7558, 22.5917, 5.3271)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8528 #28308D
analogous
#8D5328 #8D8528 #628D28
triadic
#8D8528 #288D85 #85288D
tetradic
#8D8528 #288D53 #28308D #8D2862
square
#8D8528 #288D53 #28308D #8D2862
split-complementary
#8D8528 #28628D #53288D
monochromatic
#2E2B0D #5D581A #8D8528 #BDB236 #D1C85E

Accessibility & contrast

On white

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

On black

5.52
#8D8528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8528
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8528#FFFFFF#000000##000000
##8D85281.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918019
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#987C73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8528;
/* rgb */ color: rgb(141, 133, 40);
/* oklch */ color: oklch(60.6% 0.112 104.4);
Tailwind
colors: {
  custom: {
    50: '#b1a868',
    500: '#8d8528',
    950: '#000000',
  },
}
SCSS
$custom: #8d8528;
$custom-light: #b1a868;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8528",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 55.248,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60619,
    "c": 0.11188,
    "h": 104.4
  },
  "luminance": 0.22591
}

Semantic roles & 50–950 ramp

primary
#8D8528
secondary
#5A61B7
accent
#55DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8528

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

Preview Lab → · Contrast checker → · Palette generator →

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