#9AA22C#9AA22C

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

Color values

HEX#9AA22C
RGBrgb(154, 162, 44)
HSLhsl(64, 57%, 40%)
HSVhsv(64, 73%, 64%)
CMYKcmyk(4.9%, 0%, 72.8%, 36.5%)
CIE-LABlab(64.07, -17.68, 56.72)
CIE-LCHlch(64.07, 59.41, 107.31°)
OKLaboklab(68.42% -0.0543 0.1257)
OKLCHoklch(68.42% 0.137 113.4)
XYZxyz(26.7022, 32.8931, 7.3248)
Luminance0.3289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA22C #342CA2
analogous
#A26F2C #9AA22C #5FA22C
triadic
#9AA22C #2C9AA2 #A22C9A
tetradic
#9AA22C #2CA26F #342CA2 #A22C5F
square
#9AA22C #2CA26F #342CA2 #A22C5F
split-complementary
#9AA22C #2C5FA2 #6F2CA2
monochromatic
#3E4212 #6C721F #9AA22C #C2CB40 #D1D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA22C#FFFFFF#000000##000000
##9AA22C1.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)
#AE9A16
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#A4988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa22c;
/* rgb */ color: rgb(154, 162, 44);
/* oklch */ color: oklch(68.4% 0.137 113.4);
Tailwind
colors: {
  custom: {
    50: '#bbbd6e',
    500: '#9aa22c',
    950: '#000000',
  },
}
SCSS
$custom: #9aa22c;
$custom-light: #bbbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa22c",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 64.068,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68423,
    "c": 0.13688,
    "h": 113.4
  },
  "luminance": 0.32893
}

Semantic roles & 50–950 ramp

primary
#9AA22C
secondary
#706ABF
accent
#47E152
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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