#9AA821#9AA821

#9AA821 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.7% C 0.149 H 115.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#9AA821
RGBrgb(154, 168, 33)
HSLhsl(66, 67%, 39%)
HSVhsv(66, 80%, 66%)
CMYKcmyk(8.3%, 0%, 80.4%, 34.1%)
CIE-LABlab(65.74, -21.20, 61.82)
CIE-LCHlch(65.74, 65.35, 108.93°)
OKLaboklab(69.74% -0.0649 0.1345)
OKLCHoklch(69.74% 0.149 115.8)
XYZxyz(27.6044, 34.9855, 6.7373)
Luminance0.3498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA821 #2F21A8
analogous
#A87321 #9AA821 #57A821
triadic
#9AA821 #219AA8 #A8219A
tetradic
#9AA821 #21A873 #2F21A8 #A82157
square
#9AA821 #21A873 #2F21A8 #A82157
split-complementary
#9AA821 #2157A8 #7321A8
monochromatic
#3C420D #6B7517 #9AA821 #C5D630 #D3E063

Accessibility & contrast

On white

2.63
#9AA821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#9AA821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA821
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA821#FFFFFF#000000##000000
##9AA8211.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B3A12E
Tritanopia (blue-blind)
#A49E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9aa821;
/* rgb */ color: rgb(154, 168, 33);
/* oklch */ color: oklch(69.7% 0.149 115.8);
Tailwind
colors: {
  custom: {
    50: '#bbc169',
    500: '#9aa821',
    950: '#000000',
  },
}
SCSS
$custom: #9aa821;
$custom-light: #bbc169;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa821",
  "rgb": {
    "r": 154,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 66.222,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69739,
    "c": 0.14937,
    "h": 115.8
  },
  "luminance": 0.34985
}

Semantic roles & 50–950 ramp

primary
#9AA821
secondary
#6A5FC5
accent
#3EEA50
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA821

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

Preview Lab → · Contrast checker → · Palette generator →

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