#9A8524#9A8524

#9A8524 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.9% C 0.114 H 96.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9A8524
RGBrgb(154, 133, 36)
HSLhsl(49, 62%, 37%)
HSVhsv(49, 77%, 60%)
CMYKcmyk(0%, 13.6%, 76.6%, 39.6%)
CIE-LABlab(55.86, -2.59, 51.82)
CIE-LCHlch(55.86, 51.88, 92.86°)
OKLaboklab(61.87% -0.0127 0.1138)
OKLCHoklch(61.87% 0.114 96.4)
XYZxyz(22.0335, 23.7736, 5.0969)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8524 #24399A
analogous
#9A4A24 #9A8524 #749A24
triadic
#9A8524 #249A85 #85249A
tetradic
#9A8524 #249A4A #24399A #9A2474
square
#9A8524 #249A4A #24399A #9A2474
split-complementary
#9A8524 #24749A #4A249A
monochromatic
#372F0D #685A18 #9A8524 #CCB030 #DAC45F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A8524#FFFFFF#000000##000000
##9A85241.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)
#938212
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#A77A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9a8524;
/* rgb */ color: rgb(154, 133, 36);
/* oklch */ color: oklch(61.9% 0.114 96.4);
Tailwind
colors: {
  custom: {
    50: '#bba866',
    500: '#9a8524',
    950: '#000000',
  },
}
SCSS
$custom: #9a8524;
$custom-light: #bba866;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8524",
  "rgb": {
    "r": 154,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 49.322,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61865,
    "c": 0.11446,
    "h": 96.4
  },
  "luminance": 0.23772
}

Semantic roles & 50–950 ramp

primary
#9A8524
secondary
#5B6DBF
accent
#60E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8524

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

Preview Lab → · Contrast checker → · Palette generator →

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