#9CAC20#9CAC20

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

Color values

HEX#9CAC20
RGBrgb(156, 172, 32)
HSLhsl(67, 69%, 40%)
HSVhsv(67, 81%, 67%)
CMYKcmyk(9.3%, 0%, 81.4%, 32.5%)
CIE-LABlab(67.03, -22.37, 63.30)
CIE-LCHlch(67.03, 67.14, 109.46°)
OKLaboklab(70.82% -0.0683 0.1374)
OKLCHoklch(70.82% 0.153 116.4)
XYZxyz(28.7243, 36.6777, 6.9325)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAC20 #3020AC
analogous
#AC7620 #9CAC20 #56AC20
triadic
#9CAC20 #209CAC #AC209C
tetradic
#9CAC20 #20AC76 #3020AC #AC2056
square
#9CAC20 #20AC76 #3020AC #AC2056
split-complementary
#9CAC20 #2056AC #7620AC
monochromatic
#3E450D #6D7816 #9CAC20 #C5D931 #D4E264

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CAC20#FFFFFF#000000##000000
##9CAC201.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)
#B7A42E
Tritanopia (blue-blind)
#A6A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cac20;
/* rgb */ color: rgb(156, 172, 32);
/* oklch */ color: oklch(70.8% 0.153 116.4);
Tailwind
colors: {
  custom: {
    50: '#bdc46a',
    500: '#9cac20',
    950: '#000000',
  },
}
SCSS
$custom: #9cac20;
$custom-light: #bdc46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9cac20",
  "rgb": {
    "r": 156,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 66.857,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.70818,
    "c": 0.15349,
    "h": 116.4
  },
  "luminance": 0.36677
}

Semantic roles & 50–950 ramp

primary
#9CAC20
secondary
#6C60C7
accent
#3CEB50
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9CAC20

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

Preview Lab → · Contrast checker → · Palette generator →

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