#9C9523#9C9523

#9C9523 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.6% C 0.128 H 105.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9C9523
RGBrgb(156, 149, 35)
HSLhsl(57, 63%, 37%)
HSVhsv(57, 78%, 61%)
CMYKcmyk(0%, 4.5%, 77.6%, 38.8%)
CIE-LABlab(60.50, -10.41, 56.55)
CIE-LCHlch(60.50, 57.50, 100.43°)
OKLaboklab(65.59% -0.0349 0.1236)
OKLCHoklch(65.59% 0.128 105.8)
XYZxyz(24.7622, 28.6851, 5.8222)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9523 #232A9C
analogous
#9C5923 #9C9523 #669C23
triadic
#9C9523 #239C95 #95239C
tetradic
#9C9523 #239C59 #232A9C #9C2366
square
#9C9523 #239C59 #232A9C #9C2366
split-complementary
#9C9523 #23669C #59239C
monochromatic
#38360D #6A6518 #9C9523 #CEC52E #DBD45E

Accessibility & contrast

On white

3.12
#9C9523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#9C9523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9523
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9523#FFFFFF#000000##000000
##9C95231.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F06
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#A88A80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9c9523;
/* rgb */ color: rgb(156, 149, 35);
/* oklch */ color: oklch(65.6% 0.128 105.8);
Tailwind
colors: {
  custom: {
    50: '#bdb368',
    500: '#9c9523',
    950: '#000000',
  },
}
SCSS
$custom: #9c9523;
$custom-light: #bdb368;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9523",
  "rgb": {
    "r": 156,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 56.529,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65594,
    "c": 0.1284,
    "h": 105.8
  },
  "luminance": 0.28684
}

Semantic roles & 50–950 ramp

primary
#9C9523
secondary
#5B61C0
accent
#4BE641
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9C9523

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

Preview Lab → · Contrast checker → · Palette generator →

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