#9C852A#9C852A

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

Color values

HEX#9C852A
RGBrgb(156, 133, 42)
HSLhsl(48, 58%, 39%)
HSVhsv(48, 73%, 61%)
CMYKcmyk(0%, 14.7%, 73.1%, 38.8%)
CIE-LABlab(56.10, -1.39, 49.76)
CIE-LCHlch(56.10, 49.78, 91.60°)
OKLaboklab(62.11% -0.0087 0.1105)
OKLCHoklch(62.11% 0.111 94.5)
XYZxyz(22.5169, 24.0114, 5.6387)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C852A #2A419C
analogous
#9C4C2A #9C852A #7A9C2A
triadic
#9C852A #2A9C85 #852A9C
tetradic
#9C852A #2A9C4C #2A419C #9C2A7A
square
#9C852A #2A9C4C #2A419C #9C2A7A
split-complementary
#9C852A #2A7A9C #4C2A9C
monochromatic
#3C3310 #6C5C1D #9C852A #CAAD39 #D7C16A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C852A#FFFFFF#000000##000000
##9C852A1.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)
#93821C
Deuteranopia (green-blind)
#99892F
Tritanopia (blue-blind)
#A97A73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c852a;
/* rgb */ color: rgb(156, 133, 42);
/* oklch */ color: oklch(62.1% 0.111 94.5);
Tailwind
colors: {
  custom: {
    50: '#bda86a',
    500: '#9c852a',
    950: '#000000',
  },
}
SCSS
$custom: #9c852a;
$custom-light: #bda86a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c852a",
  "rgb": {
    "r": 156,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 47.895,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62113,
    "c": 0.11086,
    "h": 94.5
  },
  "luminance": 0.2401
}

Semantic roles & 50–950 ramp

primary
#9C852A
secondary
#6576BD
accent
#66E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C852A

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

Preview Lab → · Contrast checker → · Palette generator →

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