#9A7D1D#9A7D1D

#9A7D1D is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.1% C 0.113 H 90.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9A7D1D
RGBrgb(154, 125, 29)
HSLhsl(46, 68%, 36%)
HSVhsv(46, 81%, 60%)
CMYKcmyk(0%, 18.8%, 81.2%, 39.6%)
CIE-LABlab(53.63, 1.58, 52.28)
CIE-LCHlch(53.63, 52.30, 88.27°)
OKLaboklab(60.09% -0.0015 0.1133)
OKLCHoklch(60.09% 0.113 90.8)
XYZxyz(20.8831, 21.6273, 4.2367)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7D1D #1D3A9A
analogous
#9A3E1D #9A7D1D #789A1D
triadic
#9A7D1D #1D9A7D #7D1D9A
tetradic
#9A7D1D #1D9A3E #1D3A9A #9A1D78
square
#9A7D1D #1D9A3E #1D3A9A #9A1D78
split-complementary
#9A7D1D #1D789A #3E1D9A
monochromatic
#33290A #665313 #9A7D1D #CEA727 #DFBE53

Accessibility & contrast

On white

3.94
#9A7D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9A7D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7D1D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7D1D#FFFFFF#000000##000000
##9A7D1D1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B06
Deuteranopia (green-blind)
#938423
Tritanopia (blue-blind)
#A7726B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9a7d1d;
/* rgb */ color: rgb(154, 125, 29);
/* oklch */ color: oklch(60.1% 0.113 90.8);
Tailwind
colors: {
  custom: {
    50: '#bca262',
    500: '#9a7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #9a7d1d;
$custom-light: #bca262;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7d1d",
  "rgb": {
    "r": 154,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 46.08,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.11326,
    "h": 90.8
  },
  "luminance": 0.21626
}

Semantic roles & 50–950 ramp

primary
#9A7D1D
secondary
#516BC2
accent
#65EB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F05
muted
#827E7A

Preview Lab

Preview with #9A7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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