#9A8220#9A8220

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

Color values

HEX#9A8220
RGBrgb(154, 130, 32)
HSLhsl(48, 66%, 36%)
HSVhsv(48, 79%, 60%)
CMYKcmyk(0%, 15.6%, 79.2%, 39.6%)
CIE-LABlab(55.01, -1.10, 52.48)
CIE-LCHlch(55.01, 52.50, 91.20°)
OKLaboklab(61.19% -0.0088 0.1144)
OKLCHoklch(61.19% 0.115 94.4)
XYZxyz(21.5710, 22.9408, 4.6581)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8220 #20389A
analogous
#9A4520 #9A8220 #759A20
triadic
#9A8220 #209A82 #82209A
tetradic
#9A8220 #209A45 #20389A #9A2075
square
#9A8220 #209A45 #20389A #9A2075
split-complementary
#9A8220 #20759A #45209A
monochromatic
#352C0B #675715 #9A8220 #CDAD2B #DCC258

Accessibility & contrast

On white

3.76
#9A8220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A8220#FFFFFF#000000##000000
##9A82201.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F0B
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#A7776F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9a8220;
/* rgb */ color: rgb(154, 130, 32);
/* oklch */ color: oklch(61.2% 0.115 94.4);
Tailwind
colors: {
  custom: {
    50: '#bca564',
    500: '#9a8220',
    950: '#000000',
  },
}
SCSS
$custom: #9a8220;
$custom-light: #bca564;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8220",
  "rgb": {
    "r": 154,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 48.197,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61185,
    "c": 0.11469,
    "h": 94.4
  },
  "luminance": 0.2294
}

Semantic roles & 50–950 ramp

primary
#9A8220
secondary
#566BC0
accent
#61E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8220

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

Preview Lab → · Contrast checker → · Palette generator →

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