#9CAC32#9CAC32

#9CAC32 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 70.9% C 0.144 H 116.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#9CAC32
RGBrgb(156, 172, 50)
HSLhsl(68, 55%, 44%)
HSVhsv(68, 71%, 67%)
CMYKcmyk(9.3%, 0%, 70.9%, 32.5%)
CIE-LABlab(67.13, -21.56, 57.55)
CIE-LCHlch(67.13, 61.45, 110.54°)
OKLaboklab(70.92% -0.0646 0.1284)
OKLCHoklch(70.92% 0.144 116.7)
XYZxyz(29.0392, 36.8036, 8.5910)
Luminance0.3680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAC32 #4232AC
analogous
#AC7F32 #9CAC32 #5FAC32
triadic
#9CAC32 #329CAC #AC329C
tetradic
#9CAC32 #32AC7F #4232AC #AC325F
square
#9CAC32 #32AC7F #4232AC #AC325F
split-complementary
#9CAC32 #325FAC #7F32AC
monochromatic
#464D16 #717D24 #9CAC32 #BCCC4F #CEDA7F

Accessibility & contrast

On white

2.51
#9CAC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#9CAC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAC32
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAC32#FFFFFF#000000##000000
##9CAC321.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31D
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#A6A294
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cac32;
/* rgb */ color: rgb(156, 172, 50);
/* oklch */ color: oklch(70.9% 0.144 116.7);
Tailwind
colors: {
  custom: {
    50: '#bcc472',
    500: '#9cac32',
    950: '#000000',
  },
}
SCSS
$custom: #9cac32;
$custom-light: #bcc472;
$custom-dark: #000000;
JSON
{
  "hex": "#9cac32",
  "rgb": {
    "r": 156,
    "g": 172,
    "b": 50
  },
  "hsl": {
    "h": 67.869,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70924,
    "c": 0.14372,
    "h": 116.7
  },
  "luminance": 0.36803
}

Semantic roles & 50–950 ramp

primary
#9CAC32
secondary
#8177C3
accent
#4ADE5D
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAC32

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

Preview Lab → · Contrast checker → · Palette generator →

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