#9A8022#9A8022

#9A8022 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.8% C 0.112 H 92.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9A8022
RGBrgb(154, 128, 34)
HSLhsl(47, 64%, 37%)
HSVhsv(47, 78%, 60%)
CMYKcmyk(0%, 16.9%, 77.9%, 39.6%)
CIE-LABlab(54.48, 0.10, 51.26)
CIE-LCHlch(54.48, 51.26, 89.89°)
OKLaboklab(60.77% -0.0052 0.1122)
OKLCHoklch(60.77% 0.112 92.7)
XYZxyz(21.3355, 22.4251, 4.7178)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8022 #223C9A
analogous
#9A4422 #9A8022 #789A22
triadic
#9A8022 #229A80 #80229A
tetradic
#9A8022 #229A44 #223C9A #9A2278
square
#9A8022 #229A44 #223C9A #9A2278
split-complementary
#9A8022 #22789A #44229A
monochromatic
#362D0C #685617 #9A8022 #CCAA2D #DBBF5B

Accessibility & contrast

On white

3.83
#9A8022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9A8022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8022
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8022#FFFFFF#000000##000000
##9A80221.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#A7756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9a8022;
/* rgb */ color: rgb(154, 128, 34);
/* oklch */ color: oklch(60.8% 0.112 92.7);
Tailwind
colors: {
  custom: {
    50: '#bca465',
    500: '#9a8022',
    950: '#000000',
  },
}
SCSS
$custom: #9a8022;
$custom-light: #bca465;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8022",
  "rgb": {
    "r": 154,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 47,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60766,
    "c": 0.11228,
    "h": 92.7
  },
  "luminance": 0.22424
}

Semantic roles & 50–950 ramp

primary
#9A8022
secondary
#586FBF
accent
#65E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8022

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

Preview Lab → · Contrast checker → · Palette generator →

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