#9C8522#9C8522

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

Color values

HEX#9C8522
RGBrgb(156, 133, 34)
HSLhsl(49, 64%, 37%)
HSVhsv(49, 78%, 61%)
CMYKcmyk(0%, 14.7%, 78.2%, 38.8%)
CIE-LABlab(56.05, -1.76, 52.80)
CIE-LCHlch(56.05, 52.83, 91.91°)
OKLaboklab(62.06% -0.0106 0.1154)
OKLCHoklch(62.06% 0.116 95.3)
XYZxyz(22.3878, 23.9597, 4.9585)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8522 #22399C
analogous
#9C4822 #9C8522 #769C22
triadic
#9C8522 #229C85 #85229C
tetradic
#9C8522 #229C48 #22399C #9C2276
square
#9C8522 #229C48 #22399C #9C2276
split-complementary
#9C8522 #22769C #48229C
monochromatic
#382F0C #6A5A17 #9C8522 #CEB02D #DCC45D

Accessibility & contrast

On white

3.63
#9C8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#9C8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8522
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8522#FFFFFF#000000##000000
##9C85221.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820E
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#A97A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c8522;
/* rgb */ color: rgb(156, 133, 34);
/* oklch */ color: oklch(62.1% 0.116 95.3);
Tailwind
colors: {
  custom: {
    50: '#bda865',
    500: '#9c8522',
    950: '#000000',
  },
}
SCSS
$custom: #9c8522;
$custom-light: #bda865;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8522",
  "rgb": {
    "r": 156,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 48.689,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62055,
    "c": 0.11584,
    "h": 95.3
  },
  "luminance": 0.23958
}

Semantic roles & 50–950 ramp

primary
#9C8522
secondary
#5A6DC0
accent
#60E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8522

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

Preview Lab → · Contrast checker → · Palette generator →

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