#9C8528#9C8528

#9C8528 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.112 H 94.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9C8528
RGBrgb(156, 133, 40)
HSLhsl(48, 59%, 38%)
HSVhsv(48, 74%, 61%)
CMYKcmyk(0%, 14.7%, 74.4%, 38.8%)
CIE-LABlab(56.09, -1.49, 50.56)
CIE-LCHlch(56.09, 50.58, 91.69°)
OKLaboklab(62.1% -0.0092 0.1118)
OKLCHoklch(62.1% 0.112 94.7)
XYZxyz(22.4820, 23.9974, 5.4549)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8528 #283F9C
analogous
#9C4B28 #9C8528 #799C28
triadic
#9C8528 #289C85 #85289C
tetradic
#9C8528 #289C4B #283F9C #9C2879
square
#9C8528 #289C4B #283F9C #9C2879
split-complementary
#9C8528 #28799C #4B289C
monochromatic
#3B320F #6B5B1C #9C8528 #CBAE36 #D8C167

Accessibility & contrast

On white

3.62
#9C8528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#9C8528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8528
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8528#FFFFFF#000000##000000
##9C85281.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938219
Deuteranopia (green-blind)
#99892D
Tritanopia (blue-blind)
#A97A73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c8528;
/* rgb */ color: rgb(156, 133, 40);
/* oklch */ color: oklch(62.1% 0.112 94.7);
Tailwind
colors: {
  custom: {
    50: '#bda869',
    500: '#9c8528',
    950: '#000000',
  },
}
SCSS
$custom: #9c8528;
$custom-light: #bda869;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8528",
  "rgb": {
    "r": 156,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 48.103,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62097,
    "c": 0.11219,
    "h": 94.7
  },
  "luminance": 0.23996
}

Semantic roles & 50–950 ramp

primary
#9C8528
secondary
#6274BE
accent
#65E245
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9C8528

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

Preview Lab → · Contrast checker → · Palette generator →

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