#9C8221#9C8221

#9C8221 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.4% C 0.114 H 93.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9C8221
RGBrgb(156, 130, 33)
HSLhsl(47, 65%, 37%)
HSVhsv(47, 79%, 61%)
CMYKcmyk(0%, 16.7%, 78.8%, 38.8%)
CIE-LABlab(55.22, -0.14, 52.40)
CIE-LCHlch(55.22, 52.40, 90.15°)
OKLaboklab(61.4% -0.0061 0.1143)
OKLCHoklch(61.4% 0.114 93.1)
XYZxyz(21.9687, 23.1443, 4.7487)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8221 #213B9C
analogous
#9C4521 #9C8221 #799C21
triadic
#9C8221 #219C82 #82219C
tetradic
#9C8221 #219C45 #213B9C #9C2179
square
#9C8221 #219C45 #213B9C #9C2179
split-complementary
#9C8221 #21799C #45219C
monochromatic
#372E0C #695816 #9C8221 #CFAC2C #DCC15B

Accessibility & contrast

On white

3.73
#9C8221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#9C8221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8221
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8221#FFFFFF#000000##000000
##9C82211.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#A97770
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c8221;
/* rgb */ color: rgb(156, 130, 33);
/* oklch */ color: oklch(61.4% 0.114 93.1);
Tailwind
colors: {
  custom: {
    50: '#bda565',
    500: '#9c8221',
    950: '#000000',
  },
}
SCSS
$custom: #9c8221;
$custom-light: #bda565;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8221",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 47.317,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.614,
    "c": 0.11443,
    "h": 93.1
  },
  "luminance": 0.23143
}

Semantic roles & 50–950 ramp

primary
#9C8221
secondary
#586EC1
accent
#63E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8221

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

Preview Lab → · Contrast checker → · Palette generator →

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