#9C811D#9C811D

#9C811D is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.2% C 0.116 H 92.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9C811D
RGBrgb(156, 129, 29)
HSLhsl(47, 69%, 36%)
HSVhsv(47, 81%, 61%)
CMYKcmyk(0%, 17.3%, 81.4%, 38.8%)
CIE-LABlab(54.93, 0.27, 53.52)
CIE-LCHlch(54.93, 53.52, 89.71°)
OKLaboklab(61.16% -0.0053 0.1158)
OKLCHoklch(61.16% 0.116 92.6)
XYZxyz(21.7836, 22.8585, 4.4269)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C811D #1D389C
analogous
#9C421D #9C811D #789C1D
triadic
#9C811D #1D9C81 #811D9C
tetradic
#9C811D #1D9C42 #1D389C #9C1D78
square
#9C811D #1D9C42 #1D389C #9C1D78
split-complementary
#9C811D #1D789C #421D9C
monochromatic
#352C0A #685613 #9C811D #D0AC27 #DFC254

Accessibility & contrast

On white

3.77
#9C811D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9C811D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C811D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C811D#FFFFFF#000000##000000
##9C811D1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F04
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#A9766E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9c811d;
/* rgb */ color: rgb(156, 129, 29);
/* oklch */ color: oklch(61.2% 0.116 92.6);
Tailwind
colors: {
  custom: {
    50: '#bda563',
    500: '#9c811d',
    950: '#000000',
  },
}
SCSS
$custom: #9c811d;
$custom-light: #bda563;
$custom-dark: #000000;
JSON
{
  "hex": "#9c811d",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 47.244,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61161,
    "c": 0.11593,
    "h": 92.6
  },
  "luminance": 0.22857
}

Semantic roles & 50–950 ramp

primary
#9C811D
secondary
#526AC2
accent
#62EB3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C811D

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

Preview Lab → · Contrast checker → · Palette generator →

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