#9A8422#9A8422

#9A8422 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.6% C 0.115 H 95.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9A8422
RGBrgb(154, 132, 34)
HSLhsl(49, 64%, 37%)
HSVhsv(49, 78%, 60%)
CMYKcmyk(0%, 14.3%, 77.9%, 39.6%)
CIE-LABlab(55.57, -2.13, 52.29)
CIE-LCHlch(55.57, 52.33, 92.33°)
OKLaboklab(61.63% -0.0115 0.1144)
OKLCHoklch(61.63% 0.115 95.8)
XYZxyz(21.8676, 23.4893, 4.8951)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8422 #22389A
analogous
#9A4822 #9A8422 #749A22
triadic
#9A8422 #229A84 #84229A
tetradic
#9A8422 #229A48 #22389A #9A2274
square
#9A8422 #229A48 #22389A #9A2274
split-complementary
#9A8422 #22749A #48229A
monochromatic
#362E0C #685917 #9A8422 #CCAF2D #DBC45B

Accessibility & contrast

On white

3.69
#9A8422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#9A8422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8422
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8422#FFFFFF#000000##000000
##9A84221.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#A77971
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9a8422;
/* rgb */ color: rgb(154, 132, 34);
/* oklch */ color: oklch(61.6% 0.115 95.8);
Tailwind
colors: {
  custom: {
    50: '#bca765',
    500: '#9a8422',
    950: '#000000',
  },
}
SCSS
$custom: #9a8422;
$custom-light: #bca765;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8422",
  "rgb": {
    "r": 154,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 49,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61633,
    "c": 0.11493,
    "h": 95.8
  },
  "luminance": 0.23488
}

Semantic roles & 50–950 ramp

primary
#9A8422
secondary
#586BBF
accent
#5FE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8422

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

Preview Lab → · Contrast checker → · Palette generator →

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