#9A7E1D#9A7E1D

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

Color values

HEX#9A7E1D
RGBrgb(154, 126, 29)
HSLhsl(47, 68%, 36%)
HSVhsv(47, 81%, 60%)
CMYKcmyk(0%, 18.2%, 81.2%, 39.6%)
CIE-LABlab(53.90, 1.02, 52.52)
CIE-LCHlch(53.90, 52.53, 88.89°)
OKLaboklab(60.3% -0.0031 0.1138)
OKLCHoklch(60.3% 0.114 91.6)
XYZxyz(21.0103, 21.8818, 4.2791)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7E1D #1D399A
analogous
#9A3F1D #9A7E1D #779A1D
triadic
#9A7E1D #1D9A7E #7E1D9A
tetradic
#9A7E1D #1D9A3F #1D399A #9A1D77
square
#9A7E1D #1D9A3F #1D399A #9A1D77
split-complementary
#9A7E1D #1D779A #3F1D9A
monochromatic
#332A0A #665413 #9A7E1D #CEA827 #DFBF53

Accessibility & contrast

On white

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

On black

5.38
#9A7E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7E1D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7E1D#FFFFFF#000000##000000
##9A7E1D1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a7e1d;
/* rgb */ color: rgb(154, 126, 29);
/* oklch */ color: oklch(60.3% 0.114 91.6);
Tailwind
colors: {
  custom: {
    50: '#bca362',
    500: '#9a7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #9a7e1d;
$custom-light: #bca362;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7e1d",
  "rgb": {
    "r": 154,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 46.56,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60304,
    "c": 0.11382,
    "h": 91.6
  },
  "luminance": 0.2188
}

Semantic roles & 50–950 ramp

primary
#9A7E1D
secondary
#516AC2
accent
#64EB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F05
muted
#827E7A

Preview Lab

Preview with #9A7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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