#9C7D1D#9C7D1D

#9C7D1D is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.3% C 0.114 H 89.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9C7D1D
RGBrgb(156, 125, 29)
HSLhsl(45, 69%, 36%)
HSVhsv(45, 81%, 61%)
CMYKcmyk(0%, 19.9%, 81.4%, 38.8%)
CIE-LABlab(53.84, 2.51, 52.55)
CIE-LCHlch(53.84, 52.61, 87.27°)
OKLaboklab(60.31% 0.001 0.1137)
OKLCHoklch(60.31% 0.114 89.5)
XYZxyz(21.2670, 21.8253, 4.2547)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7D1D #1D3C9C
analogous
#9C3D1D #9C7D1D #7C9C1D
triadic
#9C7D1D #1D9C7D #7D1D9C
tetradic
#9C7D1D #1D9C3D #1D3C9C #9C1D7C
square
#9C7D1D #1D9C3D #1D3C9C #9C1D7C
split-complementary
#9C7D1D #1D7C9C #3D1D9C
monochromatic
#352A0A #685413 #9C7D1D #D0A627 #DFBD54

Accessibility & contrast

On white

3.91
#9C7D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9C7D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7D1D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7D1D#FFFFFF#000000##000000
##9C7D1D1.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C06
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#AA716B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9c7d1d;
/* rgb */ color: rgb(156, 125, 29);
/* oklch */ color: oklch(60.3% 0.114 89.5);
Tailwind
colors: {
  custom: {
    50: '#bea262',
    500: '#9c7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #9c7d1d;
$custom-light: #bea262;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7d1d",
  "rgb": {
    "r": 156,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 45.354,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60305,
    "c": 0.11372,
    "h": 89.5
  },
  "luminance": 0.21824
}

Semantic roles & 50–950 ramp

primary
#9C7D1D
secondary
#526EC2
accent
#67EB3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F05
muted
#827E7A

Preview Lab

Preview with #9C7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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