#9CAC27#9CAC27

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

Color values

HEX#9CAC27
RGBrgb(156, 172, 39)
HSLhsl(67, 63%, 41%)
HSVhsv(67, 77%, 67%)
CMYKcmyk(9.3%, 0%, 77.3%, 32.5%)
CIE-LABlab(67.07, -22.10, 61.28)
CIE-LCHlch(67.07, 65.14, 109.83°)
OKLaboklab(70.85% -0.0671 0.1344)
OKLCHoklch(70.85% 0.15 116.5)
XYZxyz(28.8298, 36.7199, 7.4880)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAC27 #3727AC
analogous
#AC7A27 #9CAC27 #5AAC27
triadic
#9CAC27 #279CAC #AC279C
tetradic
#9CAC27 #27AC7A #3727AC #AC275A
square
#9CAC27 #27AC7A #3727AC #AC275A
split-complementary
#9CAC27 #275AAC #7A27AC
monochromatic
#424810 #6F7A1C #9CAC27 #C1D33D #D1DE6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CAC27#FFFFFF#000000##000000
##9CAC271.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)
#B8A301
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#A6A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cac27;
/* rgb */ color: rgb(156, 172, 39);
/* oklch */ color: oklch(70.9% 0.150 116.5);
Tailwind
colors: {
  custom: {
    50: '#bdc46d',
    500: '#9cac27',
    950: '#000000',
  },
}
SCSS
$custom: #9cac27;
$custom-light: #bdc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cac27",
  "rgb": {
    "r": 156,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 67.218,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70853,
    "c": 0.15016,
    "h": 116.5
  },
  "luminance": 0.36719
}

Semantic roles & 50–950 ramp

primary
#9CAC27
secondary
#756AC5
accent
#42E655
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAC27

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

Preview Lab → · Contrast checker → · Palette generator →

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