#9C8D24#9C8D24

#9C8D24 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.121 H 100.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9C8D24
RGBrgb(156, 141, 36)
HSLhsl(53, 63%, 38%)
HSVhsv(53, 77%, 61%)
CMYKcmyk(0%, 9.6%, 76.9%, 38.8%)
CIE-LABlab(58.27, -6.07, 54.15)
CIE-LCHlch(58.27, 54.49, 96.39°)
OKLaboklab(63.82% -0.0226 0.1186)
OKLCHoklch(63.82% 0.121 100.8)
XYZxyz(23.5547, 26.2462, 5.4940)
Luminance0.2625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D24 #24339C
analogous
#9C5124 #9C8D24 #6F9C24
triadic
#9C8D24 #249C8D #8D249C
tetradic
#9C8D24 #249C51 #24339C #9C246F
square
#9C8D24 #249C51 #24339C #9C246F
split-complementary
#9C8D24 #246F9C #51249C
monochromatic
#39330D #6A6019 #9C8D24 #CEBA2F #DACB60

Accessibility & contrast

On white

3.36
#9C8D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9C8D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D24
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D24#FFFFFF#000000##000000
##9C8D241.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890E
Deuteranopia (green-blind)
#9F8F2B
Tritanopia (blue-blind)
#A88279
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d24;
/* rgb */ color: rgb(156, 141, 36);
/* oklch */ color: oklch(63.8% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#bdae67',
    500: '#9c8d24',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d24;
$custom-light: #bdae67;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d24",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 52.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6382,
    "c": 0.12077,
    "h": 100.8
  },
  "luminance": 0.26245
}

Semantic roles & 50–950 ramp

primary
#9C8D24
secondary
#5C69BF
accent
#57E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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