#9C842C#9C842C

#9C842C is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.9% C 0.109 H 93.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9C842C
RGBrgb(156, 132, 44)
HSLhsl(47, 56%, 39%)
HSVhsv(47, 72%, 61%)
CMYKcmyk(0%, 15.4%, 71.8%, 38.8%)
CIE-LABlab(55.84, -0.73, 48.67)
CIE-LCHlch(55.84, 48.67, 90.86°)
OKLaboklab(61.91% -0.0066 0.1086)
OKLCHoklch(61.91% 0.109 93.5)
XYZxyz(22.4174, 23.7536, 5.7865)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C842C #2C449C
analogous
#9C4C2C #9C842C #7C9C2C
triadic
#9C842C #2C9C84 #842C9C
tetradic
#9C842C #2C9C4C #2C449C #9C2C7C
square
#9C842C #2C9C4C #2C449C #9C2C7C
split-complementary
#9C842C #2C7C9C #4C2C9C
monochromatic
#3D3311 #6C5C1F #9C842C #C8AA3D #D6BF6D

Accessibility & contrast

On white

3.65
#9C842C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9C842C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C842C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C842C#FFFFFF#000000##000000
##9C842C1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928220
Deuteranopia (green-blind)
#988931
Tritanopia (blue-blind)
#A97972
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c842c;
/* rgb */ color: rgb(156, 132, 44);
/* oklch */ color: oklch(61.9% 0.109 93.5);
Tailwind
colors: {
  custom: {
    50: '#bda76b',
    500: '#9c842c',
    950: '#000000',
  },
}
SCSS
$custom: #9c842c;
$custom-light: #bda76b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c842c",
  "rgb": {
    "r": 156,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 47.143,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61913,
    "c": 0.10879,
    "h": 93.5
  },
  "luminance": 0.23752
}

Semantic roles & 50–950 ramp

primary
#9C842C
secondary
#6779BD
accent
#69DF49
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C842C

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

Preview Lab → · Contrast checker → · Palette generator →

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