#9A9224#9A9224

#9A9224 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.7% C 0.125 H 105.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9A9224
RGBrgb(154, 146, 36)
HSLhsl(56, 62%, 37%)
HSVhsv(56, 77%, 60%)
CMYKcmyk(0%, 5.2%, 76.6%, 39.6%)
CIE-LABlab(59.49, -9.67, 55.21)
CIE-LCHlch(59.49, 56.05, 99.93°)
OKLaboklab(64.74% -0.0326 0.121)
OKLCHoklch(64.74% 0.125 105.1)
XYZxyz(23.9248, 27.5561, 5.7273)
Luminance0.2756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9224 #242C9A
analogous
#9A5724 #9A9224 #679A24
triadic
#9A9224 #249A92 #92249A
tetradic
#9A9224 #249A57 #242C9A #9A2467
square
#9A9224 #249A57 #242C9A #9A2467
split-complementary
#9A9224 #24679A #57249A
monochromatic
#37340D #686318 #9A9224 #CCC130 #DAD15F

Accessibility & contrast

On white

3.23
#9A9224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#9A9224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9224
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9224#FFFFFF#000000##000000
##9A92241.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D0B
Deuteranopia (green-blind)
#A2912C
Tritanopia (blue-blind)
#A6887D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9a9224;
/* rgb */ color: rgb(154, 146, 36);
/* oklch */ color: oklch(64.7% 0.125 105.1);
Tailwind
colors: {
  custom: {
    50: '#bbb168',
    500: '#9a9224',
    950: '#000000',
  },
}
SCSS
$custom: #9a9224;
$custom-light: #bbb168;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9224",
  "rgb": {
    "r": 154,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 55.932,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64743,
    "c": 0.12531,
    "h": 105.1
  },
  "luminance": 0.27555
}

Semantic roles & 50–950 ramp

primary
#9A9224
secondary
#5B62BF
accent
#4EE543
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A9224

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

Preview Lab → · Contrast checker → · Palette generator →

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