#9C9524#9C9524

#9C9524 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#9C9524
RGBrgb(156, 149, 36)
HSLhsl(57, 63%, 38%)
HSVhsv(57, 77%, 61%)
CMYKcmyk(0%, 4.5%, 76.9%, 38.8%)
CIE-LABlab(60.51, -10.37, 56.22)
CIE-LCHlch(60.51, 57.17, 100.45°)
OKLaboklab(65.6% -0.0347 0.1231)
OKLCHoklch(65.6% 0.128 105.8)
XYZxyz(24.7772, 28.6911, 5.9015)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9524 #242B9C
analogous
#9C5924 #9C9524 #679C24
triadic
#9C9524 #249C95 #95249C
tetradic
#9C9524 #249C59 #242B9C #9C2467
square
#9C9524 #249C59 #242B9C #9C2467
split-complementary
#9C9524 #24679C #59249C
monochromatic
#39360D #6A6619 #9C9524 #CEC42F #DAD360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C9524#FFFFFF#000000##000000
##9C95241.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)
#A28F09
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#A88B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9c9524;
/* rgb */ color: rgb(156, 149, 36);
/* oklch */ color: oklch(65.6% 0.128 105.8);
Tailwind
colors: {
  custom: {
    50: '#bdb368',
    500: '#9c9524',
    950: '#000000',
  },
}
SCSS
$custom: #9c9524;
$custom-light: #bdb368;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9524",
  "rgb": {
    "r": 156,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 56.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.656,
    "c": 0.12785,
    "h": 105.8
  },
  "luminance": 0.2869
}

Semantic roles & 50–950 ramp

primary
#9C9524
secondary
#5C62BF
accent
#4CE642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9524

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

Preview Lab → · Contrast checker → · Palette generator →

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