#9C7E1D#9C7E1D

#9C7E1D is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.5% C 0.114 H 90.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9C7E1D
RGBrgb(156, 126, 29)
HSLhsl(46, 69%, 36%)
HSVhsv(46, 81%, 61%)
CMYKcmyk(0%, 19.2%, 81.4%, 38.8%)
CIE-LABlab(54.11, 1.95, 52.79)
CIE-LCHlch(54.11, 52.82, 87.89°)
OKLaboklab(60.52% -0.0006 0.1142)
OKLCHoklch(60.52% 0.114 90.3)
XYZxyz(21.3942, 22.0797, 4.2971)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7E1D #1D3B9C
analogous
#9C3F1D #9C7E1D #7B9C1D
triadic
#9C7E1D #1D9C7E #7E1D9C
tetradic
#9C7E1D #1D9C3F #1D3B9C #9C1D7B
square
#9C7E1D #1D9C3F #1D3B9C #9C1D7B
split-complementary
#9C7E1D #1D7B9C #3F1D9C
monochromatic
#352B0A #685413 #9C7E1D #D0A827 #DFBE54

Accessibility & contrast

On white

3.88
#9C7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9C7E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7E1D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7E1D#FFFFFF#000000##000000
##9C7E1D1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D05
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#A9736C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9c7e1d;
/* rgb */ color: rgb(156, 126, 29);
/* oklch */ color: oklch(60.5% 0.114 90.3);
Tailwind
colors: {
  custom: {
    50: '#bda362',
    500: '#9c7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #9c7e1d;
$custom-light: #bda362;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7e1d",
  "rgb": {
    "r": 156,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 45.827,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60518,
    "c": 0.11424,
    "h": 90.3
  },
  "luminance": 0.22078
}

Semantic roles & 50–950 ramp

primary
#9C7E1D
secondary
#526DC2
accent
#66EB3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A

Preview Lab

Preview with #9C7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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