#8D8530#8D8530

#8D8530 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.106 H 103.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8D8530
RGBrgb(141, 133, 48)
HSLhsl(55, 49%, 37%)
HSVhsv(55, 66%, 55%)
CMYKcmyk(0%, 5.7%, 66%, 44.7%)
CIE-LABlab(54.71, -7.86, 45.31)
CIE-LCHlch(54.71, 45.99, 99.85°)
OKLaboklab(60.69% -0.0255 0.1027)
OKLCHoklch(60.69% 0.106 103.9)
XYZxyz(19.9063, 22.6519, 6.1194)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8530 #30388D
analogous
#8D5730 #8D8530 #668D30
triadic
#8D8530 #308D85 #85308D
tetradic
#8D8530 #308D57 #30388D #8D3066
square
#8D8530 #308D57 #30388D #8D3066
split-complementary
#8D8530 #30668D #57308D
monochromatic
#322F11 #5F5A20 #8D8530 #BBB040 #CDC46B

Accessibility & contrast

On white

3.80
#8D8530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8D8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8530
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8530#FFFFFF#000000##000000
##8D85301.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918125
Deuteranopia (green-blind)
#938535
Tritanopia (blue-blind)
#977C73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8530;
/* rgb */ color: rgb(141, 133, 48);
/* oklch */ color: oklch(60.7% 0.106 103.9);
Tailwind
colors: {
  custom: {
    50: '#b1a86d',
    500: '#8d8530',
    950: '#000000',
  },
}
SCSS
$custom: #8d8530;
$custom-light: #b1a86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8530",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 54.839,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.1058,
    "h": 103.9
  },
  "luminance": 0.22651
}

Semantic roles & 50–950 ramp

primary
#8D8530
secondary
#656CB4
accent
#5BD94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D8530

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

Preview Lab → · Contrast checker → · Palette generator →

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