#9AAA21#9AAA21

#9AAA21 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.2% C 0.152 H 116.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#9AAA21
RGBrgb(154, 170, 33)
HSLhsl(67, 67%, 40%)
HSVhsv(67, 81%, 67%)
CMYKcmyk(9.4%, 0%, 80.6%, 33.3%)
CIE-LABlab(66.31, -22.20, 62.33)
CIE-LCHlch(66.31, 66.17, 109.60°)
OKLaboklab(70.2% -0.0677 0.1356)
OKLCHoklch(70.2% 0.152 116.5)
XYZxyz(27.9764, 35.7297, 6.8613)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAA21 #3121AA
analogous
#AA7521 #9AAA21 #56AA21
triadic
#9AAA21 #219AAA #AA219A
tetradic
#9AAA21 #21AA75 #3121AA #AA2156
square
#9AAA21 #21AA75 #3121AA #AA2156
split-complementary
#9AAA21 #2156AA #7521AA
monochromatic
#3D430D #6C7717 #9AAA21 #C4D731 #D2E164

Accessibility & contrast

On white

2.58
#9AAA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#9AAA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAA21
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAA21#FFFFFF#000000##000000
##9AAA211.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#A4A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9aaa21;
/* rgb */ color: rgb(154, 170, 33);
/* oklch */ color: oklch(70.2% 0.152 116.5);
Tailwind
colors: {
  custom: {
    50: '#bbc36a',
    500: '#9aaa21',
    950: '#000000',
  },
}
SCSS
$custom: #9aaa21;
$custom-light: #bbc36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaa21",
  "rgb": {
    "r": 154,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 67.007,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70201,
    "c": 0.15157,
    "h": 116.5
  },
  "luminance": 0.35729
}

Semantic roles & 50–950 ramp

primary
#9AAA21
secondary
#6C61C6
accent
#3DEA52
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AAA21

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

Preview Lab → · Contrast checker → · Palette generator →

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