#9A8224#9A8224

#9A8224 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.112 H 94.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9A8224
RGBrgb(154, 130, 36)
HSLhsl(48, 62%, 37%)
HSVhsv(48, 77%, 60%)
CMYKcmyk(0%, 15.6%, 76.6%, 39.6%)
CIE-LABlab(55.04, -0.93, 51.04)
CIE-LCHlch(55.04, 51.04, 91.04°)
OKLaboklab(61.21% -0.0079 0.1121)
OKLCHoklch(61.21% 0.112 94)
XYZxyz(21.6287, 22.9639, 4.9620)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8224 #243C9A
analogous
#9A4724 #9A8224 #779A24
triadic
#9A8224 #249A82 #82249A
tetradic
#9A8224 #249A47 #243C9A #9A2477
square
#9A8224 #249A47 #243C9A #9A2477
split-complementary
#9A8224 #24779A #47249A
monochromatic
#372E0D #685818 #9A8224 #CCAC30 #DAC15F

Accessibility & contrast

On white

3.75
#9A8224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#9A8224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8224
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8224#FFFFFF#000000##000000
##9A82241.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908013
Deuteranopia (green-blind)
#96872A
Tritanopia (blue-blind)
#A77770
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9a8224;
/* rgb */ color: rgb(154, 130, 36);
/* oklch */ color: oklch(61.2% 0.112 94.0);
Tailwind
colors: {
  custom: {
    50: '#bca666',
    500: '#9a8224',
    950: '#000000',
  },
}
SCSS
$custom: #9a8224;
$custom-light: #bca666;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8224",
  "rgb": {
    "r": 154,
    "g": 130,
    "b": 36
  },
  "hsl": {
    "h": 47.797,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61212,
    "c": 0.11238,
    "h": 94
  },
  "luminance": 0.22963
}

Semantic roles & 50–950 ramp

primary
#9A8224
secondary
#5B6FBF
accent
#64E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8224

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

Preview Lab → · Contrast checker → · Palette generator →

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