#9A811D#9A811D

#9A811D is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 61.0% C 0.116 H 93.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9A811D
RGBrgb(154, 129, 29)
HSLhsl(48, 68%, 36%)
HSVhsv(48, 81%, 60%)
CMYKcmyk(0%, 16.2%, 81.2%, 39.6%)
CIE-LABlab(54.72, -0.65, 53.25)
CIE-LCHlch(54.72, 53.26, 90.70°)
OKLaboklab(60.95% -0.0079 0.1154)
OKLCHoklch(60.95% 0.116 93.9)
XYZxyz(21.3997, 22.6605, 4.4089)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A811D #1D369A
analogous
#9A421D #9A811D #749A1D
triadic
#9A811D #1D9A81 #811D9A
tetradic
#9A811D #1D9A42 #1D369A #9A1D74
square
#9A811D #1D9A42 #1D369A #9A1D74
split-complementary
#9A811D #1D749A #421D9A
monochromatic
#332B0A #665613 #9A811D #CEAC27 #DFC353

Accessibility & contrast

On white

3.80
#9A811D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#9A811D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A811D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A811D#FFFFFF#000000##000000
##9A811D1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a811d;
/* rgb */ color: rgb(154, 129, 29);
/* oklch */ color: oklch(61.0% 0.116 93.9);
Tailwind
colors: {
  custom: {
    50: '#bca563',
    500: '#9a811d',
    950: '#000000',
  },
}
SCSS
$custom: #9a811d;
$custom-light: #bca563;
$custom-dark: #000000;
JSON
{
  "hex": "#9a811d",
  "rgb": {
    "r": 154,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 48,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60951,
    "c": 0.11563,
    "h": 93.9
  },
  "luminance": 0.22659
}

Semantic roles & 50–950 ramp

primary
#9A811D
secondary
#5168C2
accent
#60EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9A811D

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

Preview Lab → · Contrast checker → · Palette generator →

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