#9C9628#9C9628

#9C9628 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.8% C 0.126 H 106.2°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9C9628
RGBrgb(156, 150, 40)
HSLhsl(57, 59%, 38%)
HSVhsv(57, 74%, 61%)
CMYKcmyk(0%, 3.8%, 74.4%, 38.8%)
CIE-LABlab(60.81, -10.73, 55.10)
CIE-LCHlch(60.81, 56.14, 101.01°)
OKLaboklab(65.85% -0.0353 0.1215)
OKLCHoklch(65.85% 0.126 106.2)
XYZxyz(25.0007, 29.0347, 6.2944)
Luminance0.2903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9628 #282E9C
analogous
#9C5C28 #9C9628 #689C28
triadic
#9C9628 #289C96 #96289C
tetradic
#9C9628 #289C5C #282E9C #9C2868
square
#9C9628 #289C5C #282E9C #9C2868
split-complementary
#9C9628 #28689C #5C289C
monochromatic
#3B380F #6B671C #9C9628 #CBC436 #D8D267

Accessibility & contrast

On white

3.09
#9C9628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#9C9628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9628
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9628#FFFFFF#000000##000000
##9C96281.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39013
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#A88C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c9628;
/* rgb */ color: rgb(156, 150, 40);
/* oklch */ color: oklch(65.8% 0.126 106.2);
Tailwind
colors: {
  custom: {
    50: '#bdb46a',
    500: '#9c9628',
    950: '#000000',
  },
}
SCSS
$custom: #9c9628;
$custom-light: #bdb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9628",
  "rgb": {
    "r": 156,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 56.897,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6585,
    "c": 0.12648,
    "h": 106.2
  },
  "luminance": 0.29034
}

Semantic roles & 50–950 ramp

primary
#9C9628
secondary
#6267BE
accent
#4EE245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9628

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

Preview Lab → · Contrast checker → · Palette generator →

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