#9AA22B#9AA22B

#9AA22B 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#9AA22B
RGBrgb(154, 162, 43)
HSLhsl(64, 58%, 40%)
HSVhsv(64, 73%, 64%)
CMYKcmyk(4.9%, 0%, 73.5%, 36.5%)
CIE-LABlab(64.07, -17.73, 57.07)
CIE-LCHlch(64.07, 59.76, 107.26°)
OKLaboklab(68.42% -0.0545 0.1262)
OKLCHoklch(68.42% 0.137 113.4)
XYZxyz(26.6836, 32.8857, 7.2270)
Luminance0.3288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA22B #332BA2
analogous
#A26F2B #9AA22B #5EA22B
triadic
#9AA22B #2B9AA2 #A22B9A
tetradic
#9AA22B #2BA26F #332BA2 #A22B5E
square
#9AA22B #2BA26F #332BA2 #A22B5E
split-complementary
#9AA22B #2B5EA2 #6F2BA2
monochromatic
#3E4111 #6C721E #9AA22B #C2CC3E #D2D96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9aa22b;
/* rgb */ color: rgb(154, 162, 43);
/* oklch */ color: oklch(68.4% 0.137 113.4);
Tailwind
colors: {
  custom: {
    50: '#bbbd6d',
    500: '#9aa22b',
    950: '#000000',
  },
}
SCSS
$custom: #9aa22b;
$custom-light: #bbbd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa22b",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 64.034,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68416,
    "c": 0.13749,
    "h": 113.4
  },
  "luminance": 0.32885
}

Semantic roles & 50–950 ramp

primary
#9AA22B
secondary
#6F69C0
accent
#47E151
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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