#9C8530#9C8530

#9C8530 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.107 H 93.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9C8530
RGBrgb(156, 133, 48)
HSLhsl(47, 53%, 40%)
HSVhsv(47, 69%, 61%)
CMYKcmyk(0%, 14.7%, 69.2%, 38.8%)
CIE-LABlab(56.15, -1.06, 47.25)
CIE-LCHlch(56.15, 47.26, 91.29°)
OKLaboklab(62.16% -0.007 0.1063)
OKLCHoklch(62.16% 0.107 93.8)
XYZxyz(22.6325, 24.0576, 6.2472)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8530 #30479C
analogous
#9C4F30 #9C8530 #7D9C30
triadic
#9C8530 #309C85 #85309C
tetradic
#9C8530 #309C4F #30479C #9C307D
square
#9C8530 #309C4F #30479C #9C307D
split-complementary
#9C8530 #307D9C #4F309C
monochromatic
#3E3513 #6D5D22 #9C8530 #C5AA44 #D4BF73

Accessibility & contrast

On white

3.61
#9C8530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9C8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8530
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8530#FFFFFF#000000##000000
##9C85301.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938325
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#A87B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9c8530;
/* rgb */ color: rgb(156, 133, 48);
/* oklch */ color: oklch(62.2% 0.107 93.8);
Tailwind
colors: {
  custom: {
    50: '#bca86d',
    500: '#9c8530',
    950: '#000000',
  },
}
SCSS
$custom: #9c8530;
$custom-light: #bca86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8530",
  "rgb": {
    "r": 156,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 47.222,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.62164,
    "c": 0.10655,
    "h": 93.8
  },
  "luminance": 0.24056
}

Semantic roles & 50–950 ramp

primary
#9C8530
secondary
#6C7DBC
accent
#6ADC4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C8530

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

Preview Lab → · Contrast checker → · Palette generator →

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