#9AAE21#9AAE21

#9AAE21 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.1% C 0.156 H 118.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#9AAE21
RGBrgb(154, 174, 33)
HSLhsl(69, 68%, 41%)
HSVhsv(69, 81%, 68%)
CMYKcmyk(11.5%, 0%, 81%, 31.8%)
CIE-LABlab(67.47, -24.18, 63.35)
CIE-LCHlch(67.47, 67.81, 110.89°)
OKLaboklab(71.13% -0.0731 0.1378)
OKLCHoklch(71.13% 0.156 118)
XYZxyz(28.7377, 37.2522, 7.1150)
Luminance0.3725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAE21 #3521AE
analogous
#AE7C21 #9AAE21 #53AE21
triadic
#9AAE21 #219AAE #AE219A
tetradic
#9AAE21 #21AE7C #3521AE #AE2153
square
#9AAE21 #21AE7C #3521AE #AE2153
split-complementary
#9AAE21 #2153AE #7C21AE
monochromatic
#3F470D #6C7B17 #9AAE21 #C1D834 #D1E267

Accessibility & contrast

On white

2.49
#9AAE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#9AAE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAE21
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAE21#FFFFFF#000000##000000
##9AAE211.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B8A530
Tritanopia (blue-blind)
#A4A495
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9aae21;
/* rgb */ color: rgb(154, 174, 33);
/* oklch */ color: oklch(71.1% 0.156 118.0);
Tailwind
colors: {
  custom: {
    50: '#bcc66a',
    500: '#9aae21',
    950: '#000000',
  },
}
SCSS
$custom: #9aae21;
$custom-light: #bcc66a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aae21",
  "rgb": {
    "r": 154,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 68.511,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71129,
    "c": 0.15599,
    "h": 118
  },
  "luminance": 0.37252
}

Semantic roles & 50–950 ramp

primary
#9AAE21
secondary
#7163C8
accent
#3DEB56
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9AAE21

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

Preview Lab → · Contrast checker → · Palette generator →

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