#9C9428#9C9428

#9C9428 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.4% C 0.125 H 105.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9C9428
RGBrgb(156, 148, 40)
HSLhsl(56, 59%, 38%)
HSVhsv(56, 74%, 61%)
CMYKcmyk(0%, 5.1%, 74.4%, 38.8%)
CIE-LABlab(60.25, -9.66, 54.57)
CIE-LCHlch(60.25, 55.42, 100.04°)
OKLaboklab(65.4% -0.0323 0.1203)
OKLCHoklch(65.4% 0.125 105)
XYZxyz(24.6842, 28.4019, 6.1889)
Luminance0.2840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9428 #28309C
analogous
#9C5A28 #9C9428 #6A9C28
triadic
#9C9428 #289C94 #94289C
tetradic
#9C9428 #289C5A #28309C #9C286A
square
#9C9428 #289C5A #28309C #9C286A
split-complementary
#9C9428 #286A9C #5A289C
monochromatic
#3B380F #6B661C #9C9428 #CBC136 #D8D067

Accessibility & contrast

On white

3.14
#9C9428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#9C9428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9428
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9428#FFFFFF#000000##000000
##9C94281.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F14
Deuteranopia (green-blind)
#A49330
Tritanopia (blue-blind)
#A88A7F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9c9428;
/* rgb */ color: rgb(156, 148, 40);
/* oklch */ color: oklch(65.4% 0.125 105.0);
Tailwind
colors: {
  custom: {
    50: '#bdb36a',
    500: '#9c9428',
    950: '#000000',
  },
}
SCSS
$custom: #9c9428;
$custom-light: #bdb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9428",
  "rgb": {
    "r": 156,
    "g": 148,
    "b": 40
  },
  "hsl": {
    "h": 55.862,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65402,
    "c": 0.12458,
    "h": 105
  },
  "luminance": 0.28401
}

Semantic roles & 50–950 ramp

primary
#9C9428
secondary
#6268BE
accent
#50E245
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9428

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

Preview Lab → · Contrast checker → · Palette generator →

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