#9AA22A#9AA22A

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

Color values

HEX#9AA22A
RGBrgb(154, 162, 42)
HSLhsl(64, 59%, 40%)
HSVhsv(64, 74%, 64%)
CMYKcmyk(4.9%, 0%, 74.1%, 36.5%)
CIE-LABlab(64.06, -17.78, 57.42)
CIE-LCHlch(64.06, 60.11, 107.20°)
OKLaboklab(68.41% -0.0547 0.1268)
OKLCHoklch(68.41% 0.138 113.3)
XYZxyz(26.6655, 32.8784, 7.1315)
Luminance0.3288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA22A #322AA2
analogous
#A26E2A #9AA22A #5EA22A
triadic
#9AA22A #2A9AA2 #A22A9A
tetradic
#9AA22A #2AA26E #322AA2 #A22A5E
square
#9AA22A #2AA26E #322AA2 #A22A5E
split-complementary
#9AA22A #2A5EA2 #6E2AA2
monochromatic
#3E4111 #6C711D #9AA22A #C3CD3D #D2D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA22A#FFFFFF#000000##000000
##9AA22A1.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)
#AE9A11
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#A5988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa22a;
/* rgb */ color: rgb(154, 162, 42);
/* oklch */ color: oklch(68.4% 0.138 113.3);
Tailwind
colors: {
  custom: {
    50: '#bbbd6d',
    500: '#9aa22a',
    950: '#000000',
  },
}
SCSS
$custom: #9aa22a;
$custom-light: #bbbd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa22a",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 64,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.6841,
    "c": 0.13809,
    "h": 113.3
  },
  "luminance": 0.32878
}

Semantic roles & 50–950 ramp

primary
#9AA22A
secondary
#6E68C0
accent
#46E250
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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