#9CB328#9CB328

#9CB328 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.5% C 0.158 H 119.0°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#9CB328
RGBrgb(156, 179, 40)
HSLhsl(70, 63%, 43%)
HSVhsv(70, 78%, 70%)
CMYKcmyk(12.8%, 0%, 77.7%, 29.8%)
CIE-LABlab(69.08, -25.50, 62.82)
CIE-LCHlch(69.08, 67.80, 112.10°)
OKLaboklab(72.48% -0.0764 0.1378)
OKLCHoklch(72.48% 0.158 119)
XYZxyz(30.2141, 39.4615, 8.0322)
Luminance0.3946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB328 #3F28B3
analogous
#B38428 #9CB328 #56B328
triadic
#9CB328 #289CB3 #B3289C
tetradic
#9CB328 #28B384 #3F28B3 #B32856
square
#9CB328 #28B384 #3F28B3 #B32856
split-complementary
#9CB328 #2856B3 #8428B3
monochromatic
#454F12 #70811D #9CB328 #BDD543 #CEE075

Accessibility & contrast

On white

2.36
#9CB328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#9CB328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB328
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB328#FFFFFF#000000##000000
##9CB3281.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#A6A999
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb328;
/* rgb */ color: rgb(156, 179, 40);
/* oklch */ color: oklch(72.5% 0.158 119.0);
Tailwind
colors: {
  custom: {
    50: '#bdc96e',
    500: '#9cb328',
    950: '#000000',
  },
}
SCSS
$custom: #9cb328;
$custom-light: #bdc96e;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb328",
  "rgb": {
    "r": 156,
    "g": 179,
    "b": 40
  },
  "hsl": {
    "h": 69.928,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72478,
    "c": 0.15753,
    "h": 119
  },
  "luminance": 0.39461
}

Semantic roles & 50–950 ramp

primary
#9CB328
secondary
#7E6FC8
accent
#41E65D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB328

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

Preview Lab → · Contrast checker → · Palette generator →

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