#9C9923#9C9923

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

Color values

HEX#9C9923
RGBrgb(156, 153, 35)
HSLhsl(59, 63%, 37%)
HSVhsv(59, 78%, 61%)
CMYKcmyk(0%, 1.9%, 77.6%, 38.8%)
CIE-LABlab(61.63, -12.53, 57.58)
CIE-LCHlch(61.63, 58.93, 102.28°)
OKLaboklab(66.49% -0.0408 0.1258)
OKLCHoklch(66.49% 0.132 108)
XYZxyz(25.4059, 29.9726, 6.0368)
Luminance0.2997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9923 #23269C
analogous
#9C5C23 #9C9923 #639C23
triadic
#9C9923 #239C99 #99239C
tetradic
#9C9923 #239C5C #23269C #9C2363
square
#9C9923 #239C5C #23269C #9C2363
split-complementary
#9C9923 #23639C #5C239C
monochromatic
#38370D #6A6818 #9C9923 #CECA2E #DBD85E

Accessibility & contrast

On white

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

On black

6.99
#9C9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9923
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9923#FFFFFF#000000##000000
##9C99231.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c9923;
/* rgb */ color: rgb(156, 153, 35);
/* oklch */ color: oklch(66.5% 0.132 108.0);
Tailwind
colors: {
  custom: {
    50: '#bdb668',
    500: '#9c9923',
    950: '#000000',
  },
}
SCSS
$custom: #9c9923;
$custom-light: #bdb668;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9923",
  "rgb": {
    "r": 156,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 58.512,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66493,
    "c": 0.13223,
    "h": 108
  },
  "luminance": 0.29972
}

Semantic roles & 50–950 ramp

primary
#9C9923
secondary
#5B5EC0
accent
#46E641
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9923

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

Preview Lab → · Contrast checker → · Palette generator →

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