#9AA822#9AA822

#9AA822 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#9AA822
RGBrgb(154, 168, 34)
HSLhsl(66, 66%, 40%)
HSVhsv(66, 80%, 66%)
CMYKcmyk(8.3%, 0%, 79.8%, 34.1%)
CIE-LABlab(65.74, -21.16, 61.54)
CIE-LCHlch(65.74, 65.07, 108.98°)
OKLaboklab(69.74% -0.0648 0.1341)
OKLCHoklch(69.74% 0.149 115.8)
XYZxyz(27.6186, 34.9912, 6.8121)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA822 #3022A8
analogous
#A87322 #9AA822 #57A822
triadic
#9AA822 #229AA8 #A8229A
tetradic
#9AA822 #22A873 #3022A8 #A82257
square
#9AA822 #22A873 #3022A8 #A82257
split-complementary
#9AA822 #2257A8 #7322A8
monochromatic
#3D420D #6B7518 #9AA822 #C4D532 #D3E065

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA822#FFFFFF#000000##000000
##9AA8221.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)
#B3A12F
Tritanopia (blue-blind)
#A49E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9aa822;
/* rgb */ color: rgb(154, 168, 34);
/* oklch */ color: oklch(69.7% 0.149 115.8);
Tailwind
colors: {
  custom: {
    50: '#bbc16a',
    500: '#9aa822',
    950: '#000000',
  },
}
SCSS
$custom: #9aa822;
$custom-light: #bbc16a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa822",
  "rgb": {
    "r": 154,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 66.269,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69744,
    "c": 0.14891,
    "h": 115.8
  },
  "luminance": 0.34991
}

Semantic roles & 50–950 ramp

primary
#9AA822
secondary
#6B61C5
accent
#3FE950
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA822

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

Preview Lab → · Contrast checker → · Palette generator →

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