#9C9724#9C9724

#9C9724 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.0% C 0.130 H 106.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9C9724
RGBrgb(156, 151, 36)
HSLhsl(58, 63%, 38%)
HSVhsv(58, 77%, 61%)
CMYKcmyk(0%, 3.2%, 76.9%, 38.8%)
CIE-LABlab(61.07, -11.43, 56.74)
CIE-LCHlch(61.07, 57.88, 101.39°)
OKLaboklab(66.05% -0.0377 0.1242)
OKLCHoklch(66.05% 0.13 106.9)
XYZxyz(25.0964, 29.3294, 6.0079)
Luminance0.2933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9724 #24299C
analogous
#9C5B24 #9C9724 #659C24
triadic
#9C9724 #249C97 #97249C
tetradic
#9C9724 #249C5B #24299C #9C2465
square
#9C9724 #249C5B #24299C #9C2465
split-complementary
#9C9724 #24659C #5B249C
monochromatic
#39370D #6A6719 #9C9724 #CEC72F #DAD560

Accessibility & contrast

On white

3.06
#9C9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#9C9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9724
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9724#FFFFFF#000000##000000
##9C97241.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49108
Deuteranopia (green-blind)
#A7952D
Tritanopia (blue-blind)
#A88D81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c9724;
/* rgb */ color: rgb(156, 151, 36);
/* oklch */ color: oklch(66.0% 0.130 106.9);
Tailwind
colors: {
  custom: {
    50: '#bdb569',
    500: '#9c9724',
    950: '#000000',
  },
}
SCSS
$custom: #9c9724;
$custom-light: #bdb569;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9724",
  "rgb": {
    "r": 156,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 57.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66049,
    "c": 0.12975,
    "h": 106.9
  },
  "luminance": 0.29329
}

Semantic roles & 50–950 ramp

primary
#9C9724
secondary
#5C61BF
accent
#49E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9724

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

Preview Lab → · Contrast checker → · Palette generator →

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