#9A8622#9A8622

#9A8622 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.116 H 97.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9A8622
RGBrgb(154, 134, 34)
HSLhsl(50, 64%, 37%)
HSVhsv(50, 78%, 60%)
CMYKcmyk(0%, 13%, 77.9%, 39.6%)
CIE-LABlab(56.12, -3.23, 52.80)
CIE-LCHlch(56.12, 52.90, 93.50°)
OKLaboklab(62.07% -0.0147 0.1154)
OKLCHoklch(62.07% 0.116 97.2)
XYZxyz(22.1414, 24.0369, 4.9864)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8622 #22369A
analogous
#9A4A22 #9A8622 #729A22
triadic
#9A8622 #229A86 #86229A
tetradic
#9A8622 #229A4A #22369A #9A2272
square
#9A8622 #229A4A #22369A #9A2272
split-complementary
#9A8622 #22729A #4A229A
monochromatic
#362F0C #685A17 #9A8622 #CCB22D #DBC65B

Accessibility & contrast

On white

3.62
#9A8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9A8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8622
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8622#FFFFFF#000000##000000
##9A86221.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830D
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#A77B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a8622;
/* rgb */ color: rgb(154, 134, 34);
/* oklch */ color: oklch(62.1% 0.116 97.2);
Tailwind
colors: {
  custom: {
    50: '#bca866',
    500: '#9a8622',
    950: '#000000',
  },
}
SCSS
$custom: #9a8622;
$custom-light: #bca866;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8622",
  "rgb": {
    "r": 154,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 50,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6207,
    "c": 0.11637,
    "h": 97.2
  },
  "luminance": 0.24036
}

Semantic roles & 50–950 ramp

primary
#9A8622
secondary
#586ABF
accent
#5DE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8622

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

Preview Lab → · Contrast checker → · Palette generator →

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