#9A861D#9A861D

#9A861D is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.119 H 97.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9A861D
RGBrgb(154, 134, 29)
HSLhsl(50, 68%, 36%)
HSVhsv(50, 81%, 60%)
CMYKcmyk(0%, 13%, 81.2%, 39.6%)
CIE-LABlab(56.10, -3.43, 54.48)
CIE-LCHlch(56.10, 54.59, 93.60°)
OKLaboklab(62.04% -0.0157 0.118)
OKLCHoklch(62.04% 0.119 97.6)
XYZxyz(22.0745, 24.0101, 4.6339)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A861D #1D319A
analogous
#9A471D #9A861D #6F9A1D
triadic
#9A861D #1D9A86 #861D9A
tetradic
#9A861D #1D9A47 #1D319A #9A1D6F
square
#9A861D #1D9A47 #1D319A #9A1D6F
split-complementary
#9A861D #1D6F9A #471D9A
monochromatic
#332C0A #665913 #9A861D #CEB327 #DFC853

Accessibility & contrast

On white

3.62
#9A861D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#9A861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A861D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A861D#FFFFFF#000000##000000
##9A861D1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948301
Deuteranopia (green-blind)
#9A8925
Tritanopia (blue-blind)
#A77B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9a861d;
/* rgb */ color: rgb(154, 134, 29);
/* oklch */ color: oklch(62.0% 0.119 97.6);
Tailwind
colors: {
  custom: {
    50: '#bca863',
    500: '#9a861d',
    950: '#000000',
  },
}
SCSS
$custom: #9a861d;
$custom-light: #bca863;
$custom-dark: #000000;
JSON
{
  "hex": "#9a861d",
  "rgb": {
    "r": 154,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 50.4,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6204,
    "c": 0.11904,
    "h": 97.6
  },
  "luminance": 0.24009
}

Semantic roles & 50–950 ramp

primary
#9A861D
secondary
#5163C2
accent
#59EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A861D

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

Preview Lab → · Contrast checker → · Palette generator →

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