#9AA421#9AA421

#9AA421 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.8% C 0.145 H 114.2°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9AA421
RGBrgb(154, 164, 33)
HSLhsl(65, 66%, 39%)
HSVhsv(65, 80%, 64%)
CMYKcmyk(6.1%, 0%, 79.9%, 35.7%)
CIE-LABlab(64.59, -19.18, 60.80)
CIE-LCHlch(64.59, 63.76, 107.51°)
OKLaboklab(68.82% -0.0594 0.1323)
OKLCHoklch(68.82% 0.145 114.2)
XYZxyz(26.8772, 33.5313, 6.4949)
Luminance0.3353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA421 #2B21A4
analogous
#A46C21 #9AA421 #58A421
triadic
#9AA421 #219AA4 #A4219A
tetradic
#9AA421 #21A46C #2B21A4 #A42158
square
#9AA421 #21A46C #2B21A4 #A42158
split-complementary
#9AA421 #2158A4 #6C21A4
monochromatic
#3A3E0C #6A7117 #9AA421 #C8D52D #D5DF60

Accessibility & contrast

On white

2.73
#9AA421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9AA421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA421
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA421#FFFFFF#000000##000000
##9AA4211.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C00
Deuteranopia (green-blind)
#B09E2E
Tritanopia (blue-blind)
#A59A8C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa421;
/* rgb */ color: rgb(154, 164, 33);
/* oklch */ color: oklch(68.8% 0.145 114.2);
Tailwind
colors: {
  custom: {
    50: '#bbbe69',
    500: '#9aa421',
    950: '#000000',
  },
}
SCSS
$custom: #9aa421;
$custom-light: #bbbe69;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa421",
  "rgb": {
    "r": 154,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 64.58,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68817,
    "c": 0.14505,
    "h": 114.2
  },
  "luminance": 0.33531
}

Semantic roles & 50–950 ramp

primary
#9AA421
secondary
#655DC4
accent
#3EE94B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA421

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

Preview Lab → · Contrast checker → · Palette generator →

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