#9C9323#9C9323

#9C9323 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 65.1% C 0.127 H 104.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9C9323
RGBrgb(156, 147, 35)
HSLhsl(56, 63%, 37%)
HSVhsv(56, 78%, 61%)
CMYKcmyk(0%, 5.8%, 77.6%, 38.8%)
CIE-LABlab(59.94, -9.35, 56.04)
CIE-LCHlch(59.94, 56.81, 99.47°)
OKLaboklab(65.15% -0.0319 0.1225)
OKLCHoklch(65.15% 0.127 104.6)
XYZxyz(24.4485, 28.0577, 5.7176)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9323 #232C9C
analogous
#9C5623 #9C9323 #699C23
triadic
#9C9323 #239C93 #93239C
tetradic
#9C9323 #239C56 #232C9C #9C2369
square
#9C9323 #239C56 #232C9C #9C2369
split-complementary
#9C9323 #23699C #56239C
monochromatic
#38350D #6A6418 #9C9323 #CEC22E #DBD25E

Accessibility & contrast

On white

3.18
#9C9323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#9C9323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9323
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9323#FFFFFF#000000##000000
##9C93231.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E08
Deuteranopia (green-blind)
#A4932C
Tritanopia (blue-blind)
#A8887E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c9323;
/* rgb */ color: rgb(156, 147, 35);
/* oklch */ color: oklch(65.1% 0.127 104.6);
Tailwind
colors: {
  custom: {
    50: '#bdb268',
    500: '#9c9323',
    950: '#000000',
  },
}
SCSS
$custom: #9c9323;
$custom-light: #bdb268;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9323",
  "rgb": {
    "r": 156,
    "g": 147,
    "b": 35
  },
  "hsl": {
    "h": 55.537,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65147,
    "c": 0.12656,
    "h": 104.6
  },
  "luminance": 0.28057
}

Semantic roles & 50–950 ramp

primary
#9C9323
secondary
#5B63C0
accent
#4EE641
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9C9323

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

Preview Lab → · Contrast checker → · Palette generator →

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