#9CAA21#9CAA21

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

Color values

HEX#9CAA21
RGBrgb(156, 170, 33)
HSLhsl(66, 67%, 40%)
HSVhsv(66, 81%, 67%)
CMYKcmyk(8.2%, 0%, 80.6%, 33.3%)
CIE-LABlab(66.46, -21.34, 62.52)
CIE-LCHlch(66.46, 66.06, 108.84°)
OKLaboklab(70.36% -0.0654 0.1359)
OKLCHoklch(70.36% 0.151 115.7)
XYZxyz(28.3604, 35.9276, 6.8793)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA21 #2F21AA
analogous
#AA7321 #9CAA21 #58AA21
triadic
#9CAA21 #219CAA #AA219C
tetradic
#9CAA21 #21AA73 #2F21AA #AA2158
square
#9CAA21 #21AA73 #2F21AA #AA2158
split-complementary
#9CAA21 #2158AA #7321AA
monochromatic
#3E430D #6D7717 #9CAA21 #C6D731 #D4E164

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CAA21#FFFFFF#000000##000000
##9CAA211.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: #9caa21;
/* rgb */ color: rgb(156, 170, 33);
/* oklch */ color: oklch(70.4% 0.151 115.7);
Tailwind
colors: {
  custom: {
    50: '#bdc36a',
    500: '#9caa21',
    950: '#000000',
  },
}
SCSS
$custom: #9caa21;
$custom-light: #bdc36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa21",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 66.131,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70361,
    "c": 0.15088,
    "h": 115.7
  },
  "luminance": 0.35927
}

Semantic roles & 50–950 ramp

primary
#9CAA21
secondary
#6B61C6
accent
#3DEA4F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9CAA21

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

Preview Lab → · Contrast checker → · Palette generator →

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