#9C8526#9C8526

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

Color values

HEX#9C8526
RGBrgb(156, 133, 38)
HSLhsl(48, 61%, 38%)
HSVhsv(48, 76%, 61%)
CMYKcmyk(0%, 14.7%, 75.6%, 38.8%)
CIE-LABlab(56.07, -1.59, 51.33)
CIE-LCHlch(56.07, 51.35, 91.77°)
OKLaboklab(62.08% -0.0097 0.113)
OKLCHoklch(62.08% 0.113 94.9)
XYZxyz(22.4489, 23.9842, 5.2803)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8526 #263D9C
analogous
#9C4A26 #9C8526 #789C26
triadic
#9C8526 #269C85 #85269C
tetradic
#9C8526 #269C4A #263D9C #9C2678
square
#9C8526 #269C4A #263D9C #9C2678
split-complementary
#9C8526 #26789C #4A269C
monochromatic
#3A310E #6B5B1A #9C8526 #CDAF32 #D9C263

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8526#FFFFFF#000000##000000
##9C85261.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)
#938216
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#A97A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c8526;
/* rgb */ color: rgb(156, 133, 38);
/* oklch */ color: oklch(62.1% 0.113 94.9);
Tailwind
colors: {
  custom: {
    50: '#bda867',
    500: '#9c8526',
    950: '#000000',
  },
}
SCSS
$custom: #9c8526;
$custom-light: #bda867;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8526",
  "rgb": {
    "r": 156,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 48.305,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62082,
    "c": 0.11346,
    "h": 94.9
  },
  "luminance": 0.23983
}

Semantic roles & 50–950 ramp

primary
#9C8526
secondary
#5F72BF
accent
#63E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8526

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

Preview Lab → · Contrast checker → · Palette generator →

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