#9C9936#9C9936

#9C9936 is a light, moderate yellow. Relative luminance 0.301; OKLCH L 66.6% C 0.120 H 107.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9C9936
RGBrgb(156, 153, 54)
HSLhsl(58, 49%, 41%)
HSVhsv(58, 65%, 61%)
CMYKcmyk(0%, 1.9%, 65.4%, 38.8%)
CIE-LABlab(61.76, -11.54, 50.49)
CIE-LCHlch(61.76, 51.79, 102.88°)
OKLaboklab(66.63% -0.0362 0.1142)
OKLCHoklch(66.63% 0.12 107.6)
XYZxyz(25.7683, 30.1175, 7.9452)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9936 #36399C
analogous
#9C6636 #9C9936 #6C9C36
triadic
#9C9936 #369C99 #99369C
tetradic
#9C9936 #369C66 #36399C #9C366C
square
#9C9936 #369C66 #36399C #9C366C
split-complementary
#9C9936 #366C9C #66369C
monochromatic
#414017 #6F6C26 #9C9936 #C2BE4E #D1CF7B

Accessibility & contrast

On white

2.99
#9C9936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#9C9936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9936
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9936#FFFFFF#000000##000000
##9C99361.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59329
Deuteranopia (green-blind)
#A7973C
Tritanopia (blue-blind)
#A78F85
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9c9936;
/* rgb */ color: rgb(156, 153, 54);
/* oklch */ color: oklch(66.6% 0.120 107.6);
Tailwind
colors: {
  custom: {
    50: '#bcb672',
    500: '#9c9936',
    950: '#000000',
  },
}
SCSS
$custom: #9c9936;
$custom-light: #bcb672;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9936",
  "rgb": {
    "r": 156,
    "g": 153,
    "b": 54
  },
  "hsl": {
    "h": 58.235,
    "s": 48.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66633,
    "c": 0.11975,
    "h": 107.6
  },
  "luminance": 0.30117
}

Semantic roles & 50–950 ramp

primary
#9C9936
secondary
#7476BA
accent
#54D850
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9C9936

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

Preview Lab → · Contrast checker → · Palette generator →

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