#9AA22F#9AA22F

#9AA22F is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.4% C 0.135 H 113.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9AA22F
RGBrgb(154, 162, 47)
HSLhsl(64, 55%, 41%)
HSVhsv(64, 71%, 64%)
CMYKcmyk(4.9%, 0%, 71%, 36.5%)
CIE-LABlab(64.09, -17.52, 55.63)
CIE-LCHlch(64.09, 58.32, 107.48°)
OKLaboklab(68.44% -0.0535 0.1239)
OKLCHoklch(68.44% 0.135 113.4)
XYZxyz(26.7606, 32.9165, 7.6326)
Luminance0.3292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA22F #372FA2
analogous
#A2702F #9AA22F #60A22F
triadic
#9AA22F #2F9AA2 #A22F9A
tetradic
#9AA22F #2FA270 #372FA2 #A22F60
square
#9AA22F #2FA270 #372FA2 #A22F60
split-complementary
#9AA22F #2F60A2 #702FA2
monochromatic
#404313 #6D7321 #9AA22F #C0C945 #D0D775

Accessibility & contrast

On white

2.77
#9AA22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#9AA22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA22F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA22F#FFFFFF#000000##000000
##9AA22F1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1B
Deuteranopia (green-blind)
#AE9D38
Tritanopia (blue-blind)
#A4988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa22f;
/* rgb */ color: rgb(154, 162, 47);
/* oklch */ color: oklch(68.4% 0.135 113.4);
Tailwind
colors: {
  custom: {
    50: '#bbbd6f',
    500: '#9aa22f',
    950: '#000000',
  },
}
SCSS
$custom: #9aa22f;
$custom-light: #bbbd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa22f",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 64.174,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68444,
    "c": 0.13496,
    "h": 113.4
  },
  "luminance": 0.32916
}

Semantic roles & 50–950 ramp

primary
#9AA22F
secondary
#746EBF
accent
#49DE54
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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