#9A9121#9A9121

#9A9121 is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.5% C 0.126 H 104.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9A9121
RGBrgb(154, 145, 33)
HSLhsl(56, 65%, 37%)
HSVhsv(56, 79%, 60%)
CMYKcmyk(0%, 5.8%, 78.6%, 39.6%)
CIE-LABlab(59.19, -9.26, 55.95)
CIE-LCHlch(59.19, 56.71, 99.40°)
OKLaboklab(64.5% -0.0318 0.122)
OKLCHoklch(64.5% 0.126 104.6)
XYZxyz(23.7274, 27.2316, 5.4449)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9121 #212A9A
analogous
#9A5521 #9A9121 #679A21
triadic
#9A9121 #219A91 #91219A
tetradic
#9A9121 #219A55 #212A9A #9A2167
square
#9A9121 #219A55 #212A9A #9A2167
split-complementary
#9A9121 #21679A #55219A
monochromatic
#35320B #686216 #9A9121 #CCC02C #DCD25A

Accessibility & contrast

On white

3.26
#9A9121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#9A9121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9121
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9121#FFFFFF#000000##000000
##9A91211.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C04
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#A6877C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9a9121;
/* rgb */ color: rgb(154, 145, 33);
/* oklch */ color: oklch(64.5% 0.126 104.6);
Tailwind
colors: {
  custom: {
    50: '#bbb066',
    500: '#9a9121',
    950: '#000000',
  },
}
SCSS
$custom: #9a9121;
$custom-light: #bbb066;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9121",
  "rgb": {
    "r": 154,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 55.537,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64501,
    "c": 0.12604,
    "h": 104.6
  },
  "luminance": 0.27231
}

Semantic roles & 50–950 ramp

primary
#9A9121
secondary
#575FC0
accent
#4DE840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A9121

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

Preview Lab → · Contrast checker → · Palette generator →

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