#9C9928#9C9928

#9C9928 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.5% C 0.129 H 107.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9C9928
RGBrgb(156, 153, 40)
HSLhsl(58, 59%, 38%)
HSVhsv(58, 74%, 61%)
CMYKcmyk(0%, 1.9%, 74.4%, 38.8%)
CIE-LABlab(61.66, -12.31, 55.90)
CIE-LCHlch(61.66, 57.24, 102.42°)
OKLaboklab(66.52% -0.0398 0.1231)
OKLCHoklch(66.52% 0.129 107.9)
XYZxyz(25.4855, 30.0044, 6.4560)
Luminance0.3000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9928 #282B9C
analogous
#9C5F28 #9C9928 #659C28
triadic
#9C9928 #289C99 #99289C
tetradic
#9C9928 #289C5F #282B9C #9C2865
square
#9C9928 #289C5F #282B9C #9C2865
split-complementary
#9C9928 #28659C #5F289C
monochromatic
#3B390F #6B691C #9C9928 #CBC836 #D8D567

Accessibility & contrast

On white

3.00
#9C9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#9C9928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9928
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9928#FFFFFF#000000##000000
##9C99281.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69311
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#A88F83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9c9928;
/* rgb */ color: rgb(156, 153, 40);
/* oklch */ color: oklch(66.5% 0.129 107.9);
Tailwind
colors: {
  custom: {
    50: '#bdb66b',
    500: '#9c9928',
    950: '#000000',
  },
}
SCSS
$custom: #9c9928;
$custom-light: #bdb66b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9928",
  "rgb": {
    "r": 156,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 58.448,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66524,
    "c": 0.12941,
    "h": 107.9
  },
  "luminance": 0.30004
}

Semantic roles & 50–950 ramp

primary
#9C9928
secondary
#6264BE
accent
#49E245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9928

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

Preview Lab → · Contrast checker → · Palette generator →

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