#9CAC22#9CAC22

#9CAC22 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.8% C 0.153 H 116.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#9CAC22
RGBrgb(156, 172, 34)
HSLhsl(67, 67%, 40%)
HSVhsv(67, 80%, 67%)
CMYKcmyk(9.3%, 0%, 80.2%, 32.5%)
CIE-LABlab(67.04, -22.30, 62.75)
CIE-LCHlch(67.04, 66.60, 109.56°)
OKLaboklab(70.83% -0.068 0.1366)
OKLCHoklch(70.83% 0.153 116.5)
XYZxyz(28.7523, 36.6889, 7.0801)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAC22 #3222AC
analogous
#AC7722 #9CAC22 #57AC22
triadic
#9CAC22 #229CAC #AC229C
tetradic
#9CAC22 #22AC77 #3222AC #AC2257
square
#9CAC22 #22AC77 #3222AC #AC2257
split-complementary
#9CAC22 #2257AC #7722AC
monochromatic
#3F460E #6E7918 #9CAC22 #C4D734 #D3E167

Accessibility & contrast

On white

2.52
#9CAC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#9CAC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAC22
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAC22#FFFFFF#000000##000000
##9CAC221.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#A6A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cac22;
/* rgb */ color: rgb(156, 172, 34);
/* oklch */ color: oklch(70.8% 0.153 116.5);
Tailwind
colors: {
  custom: {
    50: '#bdc46a',
    500: '#9cac22',
    950: '#000000',
  },
}
SCSS
$custom: #9cac22;
$custom-light: #bdc46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9cac22",
  "rgb": {
    "r": 156,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 66.957,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70827,
    "c": 0.1526,
    "h": 116.5
  },
  "luminance": 0.36688
}

Semantic roles & 50–950 ramp

primary
#9CAC22
secondary
#6F63C7
accent
#3EEA52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CAC22

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

Preview Lab → · Contrast checker → · Palette generator →

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