#9C8D29#9C8D29

#9C8D29 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.118 H 100.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9C8D29
RGBrgb(156, 141, 41)
HSLhsl(52, 58%, 39%)
HSVhsv(52, 74%, 61%)
CMYKcmyk(0%, 9.6%, 73.7%, 38.8%)
CIE-LABlab(58.30, -5.84, 52.32)
CIE-LCHlch(58.30, 52.64, 96.37°)
OKLaboklab(63.85% -0.0214 0.1157)
OKLCHoklch(63.85% 0.118 100.5)
XYZxyz(23.6365, 26.2789, 5.9247)
Luminance0.2628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D29 #29389C
analogous
#9C5329 #9C8D29 #719C29
triadic
#9C8D29 #299C8D #8D299C
tetradic
#9C8D29 #299C53 #29389C #9C2971
square
#9C8D29 #299C53 #29389C #9C2971
split-complementary
#9C8D29 #29719C #53299C
monochromatic
#3B3510 #6C611C #9C8D29 #CBB738 #D7C968

Accessibility & contrast

On white

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

On black

6.26
#9C8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D29
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D29#FFFFFF#000000##000000
##9C8D291.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8918
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#A88379
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d29;
/* rgb */ color: rgb(156, 141, 41);
/* oklch */ color: oklch(63.9% 0.118 100.5);
Tailwind
colors: {
  custom: {
    50: '#bdae6a',
    500: '#9c8d29',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d29;
$custom-light: #bdae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d29",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 52.174,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63854,
    "c": 0.11771,
    "h": 100.5
  },
  "luminance": 0.26278
}

Semantic roles & 50–950 ramp

primary
#9C8D29
secondary
#636FBE
accent
#5AE246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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