#9D8528#9D8528

#9D8528 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.112 H 94.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9D8528
RGBrgb(157, 133, 40)
HSLhsl(48, 59%, 39%)
HSVhsv(48, 75%, 62%)
CMYKcmyk(0%, 15.3%, 74.5%, 38.4%)
CIE-LABlab(56.19, -1.03, 50.69)
CIE-LCHlch(56.19, 50.70, 91.17°)
OKLaboklab(62.2% -0.008 0.1121)
OKLCHoklch(62.2% 0.112 94.1)
XYZxyz(22.6764, 24.0976, 5.4640)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8528 #28409D
analogous
#9D4A28 #9D8528 #7A9D28
triadic
#9D8528 #289D85 #85289D
tetradic
#9D8528 #289D4A #28409D #9D287A
square
#9D8528 #289D4A #28409D #9D287A
split-complementary
#9D8528 #287A9D #4A289D
monochromatic
#3B320F #6C5C1C #9D8528 #CCAD36 #D8C167

Accessibility & contrast

On white

3.61
#9D8528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#9D8528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8528
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8528#FFFFFF#000000##000000
##9D85281.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938319
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#AA7A73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d8528;
/* rgb */ color: rgb(157, 133, 40);
/* oklch */ color: oklch(62.2% 0.112 94.1);
Tailwind
colors: {
  custom: {
    50: '#bea869',
    500: '#9d8528',
    950: '#000000',
  },
}
SCSS
$custom: #9d8528;
$custom-light: #bea869;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8528",
  "rgb": {
    "r": 157,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 47.692,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.622,
    "c": 0.11233,
    "h": 94.1
  },
  "luminance": 0.24096
}

Semantic roles & 50–950 ramp

primary
#9D8528
secondary
#6275BE
accent
#66E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9D8528

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

Preview Lab → · Contrast checker → · Palette generator →

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