#9C7D20#9C7D20

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

Color values

HEX#9C7D20
RGBrgb(156, 125, 32)
HSLhsl(45, 66%, 37%)
HSVhsv(45, 79%, 61%)
CMYKcmyk(0%, 19.9%, 79.5%, 38.8%)
CIE-LABlab(53.86, 2.62, 51.50)
CIE-LCHlch(53.86, 51.57, 87.09°)
OKLaboklab(60.32% 0.0017 0.1121)
OKLCHoklch(60.32% 0.112 89.2)
XYZxyz(21.3059, 21.8408, 4.4597)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7D20 #203F9C
analogous
#9C3F20 #9C7D20 #7D9C20
triadic
#9C7D20 #209C7D #7D209C
tetradic
#9C7D20 #209C3F #203F9C #9C207D
square
#9C7D20 #209C3F #203F9C #9C207D
split-complementary
#9C7D20 #207D9C #3F209C
monochromatic
#362C0B #695416 #9C7D20 #CFA62A #DDBC59

Accessibility & contrast

On white

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

On black

5.37
#9C7D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7D20
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7D20#FFFFFF#000000##000000
##9C7D201.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0D
Deuteranopia (green-blind)
#948425
Tritanopia (blue-blind)
#A9726B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9c7d20;
/* rgb */ color: rgb(156, 125, 32);
/* oklch */ color: oklch(60.3% 0.112 89.2);
Tailwind
colors: {
  custom: {
    50: '#bda263',
    500: '#9c7d20',
    950: '#000000',
  },
}
SCSS
$custom: #9c7d20;
$custom-light: #bda263;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7d20",
  "rgb": {
    "r": 156,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 45,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60323,
    "c": 0.11215,
    "h": 89.2
  },
  "luminance": 0.21839
}

Semantic roles & 50–950 ramp

primary
#9C7D20
secondary
#5771C1
accent
#69E93F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A

Preview Lab

Preview with #9C7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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