#9C8323#9C8323

#9C8323 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.114 H 93.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9C8323
RGBrgb(156, 131, 35)
HSLhsl(48, 63%, 37%)
HSVhsv(48, 78%, 61%)
CMYKcmyk(0%, 16%, 77.6%, 38.8%)
CIE-LABlab(55.51, -0.61, 51.93)
CIE-LCHlch(55.51, 51.93, 90.67°)
OKLaboklab(61.63% -0.0072 0.1137)
OKLCHoklch(61.63% 0.114 93.6)
XYZxyz(22.1312, 23.4232, 4.9452)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8323 #233C9C
analogous
#9C4623 #9C8323 #799C23
triadic
#9C8323 #239C83 #83239C
tetradic
#9C8323 #239C46 #233C9C #9C2379
square
#9C8323 #239C46 #233C9C #9C2379
split-complementary
#9C8323 #23799C #46239C
monochromatic
#382F0D #6A5918 #9C8323 #CEAD2E #DBC15E

Accessibility & contrast

On white

3.69
#9C8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#9C8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8323
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8323#FFFFFF#000000##000000
##9C83231.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928111
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#A97871
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9c8323;
/* rgb */ color: rgb(156, 131, 35);
/* oklch */ color: oklch(61.6% 0.114 93.6);
Tailwind
colors: {
  custom: {
    50: '#bda666',
    500: '#9c8323',
    950: '#000000',
  },
}
SCSS
$custom: #9c8323;
$custom-light: #bda666;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8323",
  "rgb": {
    "r": 156,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 47.603,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61629,
    "c": 0.11393,
    "h": 93.6
  },
  "luminance": 0.23422
}

Semantic roles & 50–950 ramp

primary
#9C8323
secondary
#5B70C0
accent
#64E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8323

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

Preview Lab → · Contrast checker → · Palette generator →

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