#9C9423#9C9423

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

Color values

HEX#9C9423
RGBrgb(156, 148, 35)
HSLhsl(56, 63%, 37%)
HSVhsv(56, 78%, 61%)
CMYKcmyk(0%, 5.1%, 77.6%, 38.8%)
CIE-LABlab(60.22, -9.88, 56.30)
CIE-LCHlch(60.22, 57.16, 99.95°)
OKLaboklab(65.37% -0.0334 0.123)
OKLCHoklch(65.37% 0.127 105.2)
XYZxyz(24.6046, 28.3700, 5.7697)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9423 #232B9C
analogous
#9C5723 #9C9423 #689C23
triadic
#9C9423 #239C94 #94239C
tetradic
#9C9423 #239C57 #232B9C #9C2368
square
#9C9423 #239C57 #232B9C #9C2368
split-complementary
#9C9423 #23689C #57239C
monochromatic
#38350D #6A6518 #9C9423 #CEC32E #DBD35E

Accessibility & contrast

On white

3.15
#9C9423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#9C9423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9423
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9423#FFFFFF#000000##000000
##9C94231.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E07
Deuteranopia (green-blind)
#A4932C
Tritanopia (blue-blind)
#A8897F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9c9423;
/* rgb */ color: rgb(156, 148, 35);
/* oklch */ color: oklch(65.4% 0.127 105.2);
Tailwind
colors: {
  custom: {
    50: '#bdb368',
    500: '#9c9423',
    950: '#000000',
  },
}
SCSS
$custom: #9c9423;
$custom-light: #bdb368;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9423",
  "rgb": {
    "r": 156,
    "g": 148,
    "b": 35
  },
  "hsl": {
    "h": 56.033,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6537,
    "c": 0.12748,
    "h": 105.2
  },
  "luminance": 0.28369
}

Semantic roles & 50–950 ramp

primary
#9C9423
secondary
#5B62C0
accent
#4CE641
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C9423

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

Preview Lab → · Contrast checker → · Palette generator →

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