#9C8328#9C8328

#9C8328 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.7% C 0.111 H 93.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9C8328
RGBrgb(156, 131, 40)
HSLhsl(47, 59%, 38%)
HSVhsv(47, 74%, 61%)
CMYKcmyk(0%, 16%, 74.4%, 38.8%)
CIE-LABlab(55.54, -0.38, 50.02)
CIE-LCHlch(55.54, 50.02, 90.44°)
OKLaboklab(61.67% -0.006 0.1107)
OKLCHoklch(61.67% 0.111 93.1)
XYZxyz(22.2108, 23.4550, 5.3645)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8328 #28419C
analogous
#9C4928 #9C8328 #7B9C28
triadic
#9C8328 #289C83 #83289C
tetradic
#9C8328 #289C49 #28419C #9C287B
square
#9C8328 #289C49 #28419C #9C287B
split-complementary
#9C8328 #287B9C #49289C
monochromatic
#3B310F #6B5A1C #9C8328 #CBAB36 #D8BF67

Accessibility & contrast

On white

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

On black

5.69
#9C8328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8328
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8328#FFFFFF#000000##000000
##9C83281.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811A
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#A97871
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9c8328;
/* rgb */ color: rgb(156, 131, 40);
/* oklch */ color: oklch(61.7% 0.111 93.1);
Tailwind
colors: {
  custom: {
    50: '#bda668',
    500: '#9c8328',
    950: '#000000',
  },
}
SCSS
$custom: #9c8328;
$custom-light: #bda668;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8328",
  "rgb": {
    "r": 156,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 47.069,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61665,
    "c": 0.11084,
    "h": 93.1
  },
  "luminance": 0.23454
}

Semantic roles & 50–950 ramp

primary
#9C8328
secondary
#6276BE
accent
#67E245
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8328

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

Preview Lab → · Contrast checker → · Palette generator →

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