#9A851D#9A851D

#9A851D is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.8% C 0.118 H 96.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9A851D
RGBrgb(154, 133, 29)
HSLhsl(50, 68%, 36%)
HSVhsv(50, 81%, 60%)
CMYKcmyk(0%, 13.6%, 81.2%, 39.6%)
CIE-LABlab(55.82, -2.87, 54.23)
CIE-LCHlch(55.82, 54.31, 93.03°)
OKLaboklab(61.82% -0.0142 0.1175)
OKLCHoklch(61.82% 0.118 96.9)
XYZxyz(21.9369, 23.7350, 4.5880)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A851D #1D329A
analogous
#9A461D #9A851D #709A1D
triadic
#9A851D #1D9A85 #851D9A
tetradic
#9A851D #1D9A46 #1D329A #9A1D70
square
#9A851D #1D9A46 #1D329A #9A1D70
split-complementary
#9A851D #1D709A #461D9A
monochromatic
#332C0A #665913 #9A851D #CEB127 #DFC753

Accessibility & contrast

On white

3.65
#9A851D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9A851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A851D
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A851D#FFFFFF#000000##000000
##9A851D1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938201
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#A77A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9a851d;
/* rgb */ color: rgb(154, 133, 29);
/* oklch */ color: oklch(61.8% 0.118 96.9);
Tailwind
colors: {
  custom: {
    50: '#bca863',
    500: '#9a851d',
    950: '#000000',
  },
}
SCSS
$custom: #9a851d;
$custom-light: #bca863;
$custom-dark: #000000;
JSON
{
  "hex": "#9a851d",
  "rgb": {
    "r": 154,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 49.92,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61821,
    "c": 0.11832,
    "h": 96.9
  },
  "luminance": 0.23734
}

Semantic roles & 50–950 ramp

primary
#9A851D
secondary
#5164C2
accent
#5AEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A851D

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

Preview Lab → · Contrast checker → · Palette generator →

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