#9D8527#9D8527

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

Color values

HEX#9D8527
RGBrgb(157, 133, 39)
HSLhsl(48, 60%, 38%)
HSVhsv(48, 75%, 62%)
CMYKcmyk(0%, 15.3%, 75.2%, 38.4%)
CIE-LABlab(56.18, -1.08, 51.08)
CIE-LCHlch(56.18, 51.09, 91.21°)
OKLaboklab(62.19% -0.0082 0.1127)
OKLCHoklch(62.19% 0.113 94.2)
XYZxyz(22.6596, 24.0909, 5.3756)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8527 #273F9D
analogous
#9D4A27 #9D8527 #7A9D27
triadic
#9D8527 #279D85 #85279D
tetradic
#9D8527 #279D4A #273F9D #9D277A
square
#9D8527 #279D4A #273F9D #9D277A
split-complementary
#9D8527 #277A9D #4A279D
monochromatic
#3B320F #6C5B1B #9D8527 #CDAE35 #D9C166

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D8527#FFFFFF#000000##000000
##9D85271.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)
#948217
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#AA7A73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d8527;
/* rgb */ color: rgb(157, 133, 39);
/* oklch */ color: oklch(62.2% 0.113 94.2);
Tailwind
colors: {
  custom: {
    50: '#bea868',
    500: '#9d8527',
    950: '#000000',
  },
}
SCSS
$custom: #9d8527;
$custom-light: #bea868;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8527",
  "rgb": {
    "r": 157,
    "g": 133,
    "b": 39
  },
  "hsl": {
    "h": 47.797,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62192,
    "c": 0.11297,
    "h": 94.2
  },
  "luminance": 0.2409
}

Semantic roles & 50–950 ramp

primary
#9D8527
secondary
#6174BF
accent
#65E344
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D8527

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

Preview Lab → · Contrast checker → · Palette generator →

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