#9A9022#9A9022

#9A9022 is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.125 H 104.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9A9022
RGBrgb(154, 144, 34)
HSLhsl(55, 64%, 37%)
HSVhsv(55, 78%, 60%)
CMYKcmyk(0%, 6.5%, 77.9%, 39.6%)
CIE-LABlab(58.91, -8.68, 55.37)
CIE-LCHlch(58.91, 56.04, 98.91°)
OKLaboklab(64.28% -0.03 0.1209)
OKLCHoklch(64.28% 0.125 104)
XYZxyz(23.5895, 26.9330, 5.4691)
Luminance0.2693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9022 #222C9A
analogous
#9A5422 #9A9022 #689A22
triadic
#9A9022 #229A90 #90229A
tetradic
#9A9022 #229A54 #222C9A #9A2268
square
#9A9022 #229A54 #222C9A #9A2268
split-complementary
#9A9022 #22689A #54229A
monochromatic
#36320C #686117 #9A9022 #CCBF2D #DBD05B

Accessibility & contrast

On white

3.29
#9A9022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#9A9022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9022
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9022#FFFFFF#000000##000000
##9A90221.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B07
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#A6867B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9a9022;
/* rgb */ color: rgb(154, 144, 34);
/* oklch */ color: oklch(64.3% 0.125 104.0);
Tailwind
colors: {
  custom: {
    50: '#bbb067',
    500: '#9a9022',
    950: '#000000',
  },
}
SCSS
$custom: #9a9022;
$custom-light: #bbb067;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9022",
  "rgb": {
    "r": 154,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 55,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64283,
    "c": 0.1246,
    "h": 104
  },
  "luminance": 0.26932
}

Semantic roles & 50–950 ramp

primary
#9A9022
secondary
#5861BF
accent
#4FE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A9022

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

Preview Lab → · Contrast checker → · Palette generator →

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