#9A8824#9A8824

#9A8824 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.5% C 0.117 H 98.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9A8824
RGBrgb(154, 136, 36)
HSLhsl(51, 62%, 37%)
HSVhsv(51, 77%, 60%)
CMYKcmyk(0%, 11.7%, 76.6%, 39.6%)
CIE-LABlab(56.69, -4.25, 52.60)
CIE-LCHlch(56.69, 52.77, 94.62°)
OKLaboklab(62.52% -0.0173 0.1154)
OKLCHoklch(62.52% 0.117 98.5)
XYZxyz(22.4501, 24.6069, 5.2358)
Luminance0.2461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8824 #24369A
analogous
#9A4D24 #9A8824 #719A24
triadic
#9A8824 #249A88 #88249A
tetradic
#9A8824 #249A4D #24369A #9A2471
square
#9A8824 #249A4D #24369A #9A2471
split-complementary
#9A8824 #24719A #4D249A
monochromatic
#37300D #685C18 #9A8824 #CCB430 #DAC75F

Accessibility & contrast

On white

3.55
#9A8824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#9A8824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8824
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8824#FFFFFF#000000##000000
##9A88241.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968411
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#A67D75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9a8824;
/* rgb */ color: rgb(154, 136, 36);
/* oklch */ color: oklch(62.5% 0.117 98.5);
Tailwind
colors: {
  custom: {
    50: '#bbaa67',
    500: '#9a8824',
    950: '#000000',
  },
}
SCSS
$custom: #9a8824;
$custom-light: #bbaa67;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8824",
  "rgb": {
    "r": 154,
    "g": 136,
    "b": 36
  },
  "hsl": {
    "h": 50.847,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62522,
    "c": 0.11673,
    "h": 98.5
  },
  "luminance": 0.24606
}

Semantic roles & 50–950 ramp

primary
#9A8824
secondary
#5B6ABF
accent
#5BE543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A8824

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

Preview Lab → · Contrast checker → · Palette generator →

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