#9CAC28#9CAC28

#9CAC28 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.35:1 contrast (WCAG AA passes).

Color values

HEX#9CAC28
RGBrgb(156, 172, 40)
HSLhsl(67, 62%, 42%)
HSVhsv(67, 77%, 67%)
CMYKcmyk(9.3%, 0%, 76.7%, 32.5%)
CIE-LABlab(67.07, -22.05, 60.96)
CIE-LCHlch(67.07, 64.83, 109.89°)
OKLaboklab(70.86% -0.0669 0.1339)
OKLCHoklch(70.86% 0.15 116.5)
XYZxyz(28.8466, 36.7266, 7.5764)
Luminance0.3673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAC28 #3828AC
analogous
#AC7A28 #9CAC28 #5AAC28
triadic
#9CAC28 #289CAC #AC289C
tetradic
#9CAC28 #28AC7A #3828AC #AC285A
square
#9CAC28 #28AC7A #3828AC #AC285A
split-complementary
#9CAC28 #285AAC #7A28AC
monochromatic
#424911 #6F7A1C #9CAC28 #C0D23F #D1DE71

Accessibility & contrast

On white

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

On black

8.35
#9CAC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAC28
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAC28#FFFFFF#000000##000000
##9CAC281.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9cac28;
/* rgb */ color: rgb(156, 172, 40);
/* oklch */ color: oklch(70.9% 0.150 116.5);
Tailwind
colors: {
  custom: {
    50: '#bdc46d',
    500: '#9cac28',
    950: '#000000',
  },
}
SCSS
$custom: #9cac28;
$custom-light: #bdc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cac28",
  "rgb": {
    "r": 156,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 67.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70859,
    "c": 0.14964,
    "h": 116.5
  },
  "luminance": 0.36726
}

Semantic roles & 50–950 ramp

primary
#9CAC28
secondary
#766BC5
accent
#42E556
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAC28

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

Preview Lab → · Contrast checker → · Palette generator →

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