#9A9225#9A9225

#9A9225 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#9A9225
RGBrgb(154, 146, 37)
HSLhsl(56, 61%, 37%)
HSVhsv(56, 76%, 60%)
CMYKcmyk(0%, 5.2%, 76%, 39.6%)
CIE-LABlab(59.49, -9.63, 54.87)
CIE-LCHlch(59.49, 55.70, 99.95°)
OKLaboklab(64.75% -0.0324 0.1205)
OKLCHoklch(64.75% 0.125 105.1)
XYZxyz(23.9403, 27.5623, 5.8089)
Luminance0.2756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9225 #252D9A
analogous
#9A5725 #9A9225 #689A25
triadic
#9A9225 #259A92 #92259A
tetradic
#9A9225 #259A57 #252D9A #9A2568
square
#9A9225 #259A57 #252D9A #9A2568
split-complementary
#9A9225 #25689A #57259A
monochromatic
#37340D #696319 #9A9225 #CBC131 #D9D160

Accessibility & contrast

On white

3.22
#9A9225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A9225#FFFFFF#000000##000000
##9A92251.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a9225;
/* rgb */ color: rgb(154, 146, 37);
/* oklch */ color: oklch(64.7% 0.125 105.1);
Tailwind
colors: {
  custom: {
    50: '#bbb168',
    500: '#9a9225',
    950: '#000000',
  },
}
SCSS
$custom: #9a9225;
$custom-light: #bbb168;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9225",
  "rgb": {
    "r": 154,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 55.897,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64749,
    "c": 0.12474,
    "h": 105.1
  },
  "luminance": 0.27561
}

Semantic roles & 50–950 ramp

primary
#9A9225
secondary
#5D63BE
accent
#4EE443
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A9225

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

Preview Lab → · Contrast checker → · Palette generator →

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