#8D8525#8D8525

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

Color values

HEX#8D8525
RGBrgb(141, 133, 37)
HSLhsl(55, 58%, 35%)
HSVhsv(55, 74%, 55%)
CMYKcmyk(0%, 5.7%, 73.8%, 44.7%)
CIE-LABlab(54.63, -8.50, 49.83)
CIE-LCHlch(54.63, 50.55, 99.68°)
OKLaboklab(60.6% -0.0285 0.1103)
OKLCHoklch(60.6% 0.114 104.5)
XYZxyz(19.7068, 22.5721, 5.0687)
Luminance0.2257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8525 #252D8D
analogous
#8D5125 #8D8525 #618D25
triadic
#8D8525 #258D85 #85258D
tetradic
#8D8525 #258D51 #252D8D #8D2561
square
#8D8525 #258D51 #252D8D #8D2561
split-complementary
#8D8525 #25618D #51258D
monochromatic
#2C2A0C #5D5718 #8D8525 #BDB332 #D3CA59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8525#FFFFFF#000000##000000
##8D85251.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)
#918014
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#987C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8525;
/* rgb */ color: rgb(141, 133, 37);
/* oklch */ color: oklch(60.6% 0.114 104.5);
Tailwind
colors: {
  custom: {
    50: '#b2a867',
    500: '#8d8525',
    950: '#000000',
  },
}
SCSS
$custom: #8d8525;
$custom-light: #b2a867;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8525",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 55.385,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60596,
    "c": 0.11391,
    "h": 104.5
  },
  "luminance": 0.22571
}

Semantic roles & 50–950 ramp

primary
#8D8525
secondary
#565DB8
accent
#52E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8525

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

Preview Lab → · Contrast checker → · Palette generator →

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