#9A8724#9A8724

#9A8724 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.116 H 97.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9A8724
RGBrgb(154, 135, 36)
HSLhsl(50, 62%, 37%)
HSVhsv(50, 77%, 60%)
CMYKcmyk(0%, 12.3%, 76.6%, 39.6%)
CIE-LABlab(56.41, -3.70, 52.34)
CIE-LCHlch(56.41, 52.47, 94.04°)
OKLaboklab(62.3% -0.0158 0.1149)
OKLCHoklch(62.3% 0.116 97.8)
XYZxyz(22.3100, 24.3265, 5.1891)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8724 #24379A
analogous
#9A4C24 #9A8724 #729A24
triadic
#9A8724 #249A87 #87249A
tetradic
#9A8724 #249A4C #24379A #9A2472
square
#9A8724 #249A4C #24379A #9A2472
split-complementary
#9A8724 #24729A #4C249A
monochromatic
#37300D #685C18 #9A8724 #CCB230 #DAC65F

Accessibility & contrast

On white

3.58
#9A8724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#9A8724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8724
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8724#FFFFFF#000000##000000
##9A87241.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958411
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#A77C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a8724;
/* rgb */ color: rgb(154, 135, 36);
/* oklch */ color: oklch(62.3% 0.116 97.8);
Tailwind
colors: {
  custom: {
    50: '#bba967',
    500: '#9a8724',
    950: '#000000',
  },
}
SCSS
$custom: #9a8724;
$custom-light: #bba967;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8724",
  "rgb": {
    "r": 154,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 50.339,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62302,
    "c": 0.11595,
    "h": 97.8
  },
  "luminance": 0.24325
}

Semantic roles & 50–950 ramp

primary
#9A8724
secondary
#5B6BBF
accent
#5DE543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8724

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

Preview Lab → · Contrast checker → · Palette generator →

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