#9CAA22#9CAA22

#9CAA22 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.150 H 115.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#9CAA22
RGBrgb(156, 170, 34)
HSLhsl(66, 67%, 40%)
HSVhsv(66, 80%, 67%)
CMYKcmyk(8.2%, 0%, 80%, 33.3%)
CIE-LABlab(66.47, -21.30, 62.24)
CIE-LCHlch(66.47, 65.79, 108.89°)
OKLaboklab(70.37% -0.0652 0.1355)
OKLCHoklch(70.37% 0.15 115.7)
XYZxyz(28.3746, 35.9333, 6.9541)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA22 #3022AA
analogous
#AA7422 #9CAA22 #58AA22
triadic
#9CAA22 #229CAA #AA229C
tetradic
#9CAA22 #22AA74 #3022AA #AA2258
square
#9CAA22 #22AA74 #3022AA #AA2258
split-complementary
#9CAA22 #2258AA #7422AA
monochromatic
#3E440E #6D7718 #9CAA22 #C5D633 #D4E066

Accessibility & contrast

On white

2.57
#9CAA22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#9CAA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAA22
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAA22#FFFFFF#000000##000000
##9CAA221.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B5A32F
Tritanopia (blue-blind)
#A6A091
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9caa22;
/* rgb */ color: rgb(156, 170, 34);
/* oklch */ color: oklch(70.4% 0.150 115.7);
Tailwind
colors: {
  custom: {
    50: '#bdc36a',
    500: '#9caa22',
    950: '#000000',
  },
}
SCSS
$custom: #9caa22;
$custom-light: #bdc36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa22",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 66.176,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.70366,
    "c": 0.15041,
    "h": 115.7
  },
  "luminance": 0.35933
}

Semantic roles & 50–950 ramp

primary
#9CAA22
secondary
#6C62C6
accent
#3EEA50
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CAA22

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

Preview Lab → · Contrast checker → · Palette generator →

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