#9AA921#9AA921

#9AA921 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.0% C 0.150 H 116.2°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9AA921
RGBrgb(154, 169, 33)
HSLhsl(67, 67%, 40%)
HSVhsv(67, 80%, 66%)
CMYKcmyk(8.9%, 0%, 80.5%, 33.7%)
CIE-LABlab(66.03, -21.70, 62.08)
CIE-LCHlch(66.03, 65.76, 109.27°)
OKLaboklab(69.97% -0.0663 0.1351)
OKLCHoklch(69.97% 0.15 116.2)
XYZxyz(27.7897, 35.3562, 6.7990)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA921 #3021A9
analogous
#A97421 #9AA921 #56A921
triadic
#9AA921 #219AA9 #A9219A
tetradic
#9AA921 #21A974 #3021A9 #A92156
square
#9AA921 #21A974 #3021A9 #A92156
split-complementary
#9AA921 #2156A9 #7421A9
monochromatic
#3D430D #6B7617 #9AA921 #C4D731 #D3E164

Accessibility & contrast

On white

2.60
#9AA921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#9AA921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA921
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA921#FFFFFF#000000##000000
##9AA9211.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B4A12F
Tritanopia (blue-blind)
#A49F90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9aa921;
/* rgb */ color: rgb(154, 169, 33);
/* oklch */ color: oklch(70.0% 0.150 116.2);
Tailwind
colors: {
  custom: {
    50: '#bbc26a',
    500: '#9aa921',
    950: '#000000',
  },
}
SCSS
$custom: #9aa921;
$custom-light: #bbc26a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa921",
  "rgb": {
    "r": 154,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 66.618,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6997,
    "c": 0.15047,
    "h": 116.2
  },
  "luminance": 0.35356
}

Semantic roles & 50–950 ramp

primary
#9AA921
secondary
#6B60C6
accent
#3EEA51
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA921

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

Preview Lab → · Contrast checker → · Palette generator →

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