#9A8546#9A8546

#9A8546 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.086 H 91.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9A8546
RGBrgb(154, 133, 70)
HSLhsl(45, 38%, 44%)
HSVhsv(45, 55%, 60%)
CMYKcmyk(0%, 13.6%, 54.5%, 39.6%)
CIE-LABlab(56.18, -0.34, 36.55)
CIE-LCHlch(56.18, 36.55, 90.53°)
OKLaboklab(62.22% -0.002 0.0864)
OKLCHoklch(62.22% 0.086 91.3)
XYZxyz(22.8203, 24.0884, 9.2407)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8546 #465B9A
analogous
#9A5B46 #9A8546 #859A46
triadic
#9A8546 #469A85 #85469A
tetradic
#9A8546 #469A5B #465B9A #9A4685
square
#9A8546 #469A5B #465B9A #9A4685
split-complementary
#9A8546 #46859A #5B469A
monochromatic
#463C20 #706133 #9A8546 #B9A464 #CCBD8F

Accessibility & contrast

On white

3.61
#9A8546 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#9A8546 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8546
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8546#FFFFFF#000000##000000
##9A85461.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918340
Deuteranopia (green-blind)
#968948
Tritanopia (blue-blind)
#A57C76
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a8546;
/* rgb */ color: rgb(154, 133, 70);
/* oklch */ color: oklch(62.2% 0.086 91.3);
Tailwind
colors: {
  custom: {
    50: '#baa87b',
    500: '#9a8546',
    950: '#000000',
  },
}
SCSS
$custom: #9a8546;
$custom-light: #baa87b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8546",
  "rgb": {
    "r": 154,
    "g": 133,
    "b": 70
  },
  "hsl": {
    "h": 45,
    "s": 37.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.62215,
    "c": 0.08646,
    "h": 91.3
  },
  "luminance": 0.24087
}

Semantic roles & 50–950 ramp

primary
#9A8546
secondary
#8491B7
accent
#77CD5A
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#120F09
muted
#817F7B

Preview Lab

Preview with #9A8546

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

Preview Lab → · Contrast checker → · Palette generator →

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