#9C8523#9C8523

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

Color values

HEX#9C8523
RGBrgb(156, 133, 35)
HSLhsl(49, 63%, 37%)
HSVhsv(49, 78%, 61%)
CMYKcmyk(0%, 14.7%, 77.6%, 38.8%)
CIE-LABlab(56.05, -1.72, 52.44)
CIE-LCHlch(56.05, 52.47, 91.88°)
OKLaboklab(62.06% -0.0104 0.1148)
OKLCHoklch(62.06% 0.115 95.2)
XYZxyz(22.4024, 23.9656, 5.0356)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8523 #233A9C
analogous
#9C4823 #9C8523 #779C23
triadic
#9C8523 #239C85 #85239C
tetradic
#9C8523 #239C48 #233A9C #9C2377
square
#9C8523 #239C48 #233A9C #9C2377
split-complementary
#9C8523 #23779C #48239C
monochromatic
#38300D #6A5A18 #9C8523 #CEB02E #DBC35E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8523#FFFFFF#000000##000000
##9C85231.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)
#948210
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#A97A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c8523;
/* rgb */ color: rgb(156, 133, 35);
/* oklch */ color: oklch(62.1% 0.115 95.2);
Tailwind
colors: {
  custom: {
    50: '#bda866',
    500: '#9c8523',
    950: '#000000',
  },
}
SCSS
$custom: #9c8523;
$custom-light: #bda866;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8523",
  "rgb": {
    "r": 156,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 48.595,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62062,
    "c": 0.11526,
    "h": 95.2
  },
  "luminance": 0.23964
}

Semantic roles & 50–950 ramp

primary
#9C8523
secondary
#5B6EC0
accent
#61E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8523

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

Preview Lab → · Contrast checker → · Palette generator →

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