#9C9934#9C9934

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

Color values

HEX#9C9934
RGBrgb(156, 153, 52)
HSLhsl(58, 50%, 41%)
HSVhsv(58, 67%, 61%)
CMYKcmyk(0%, 1.9%, 66.7%, 38.8%)
CIE-LABlab(61.74, -11.67, 51.32)
CIE-LCHlch(61.74, 52.63, 102.81°)
OKLaboklab(66.62% -0.0367 0.1156)
OKLCHoklch(66.62% 0.121 107.6)
XYZxyz(25.7223, 30.0991, 7.7029)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9934 #34379C
analogous
#9C6534 #9C9934 #6B9C34
triadic
#9C9934 #349C99 #99349C
tetradic
#9C9934 #349C65 #34379C #9C346B
square
#9C9934 #349C65 #34379C #9C346B
split-complementary
#9C9934 #346B9C #65349C
monochromatic
#403F15 #6E6C25 #9C9934 #C3BF4A #D2D078

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C9934#FFFFFF#000000##000000
##9C99341.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)
#A69326
Deuteranopia (green-blind)
#A7973B
Tritanopia (blue-blind)
#A78F84
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9c9934;
/* rgb */ color: rgb(156, 153, 52);
/* oklch */ color: oklch(66.6% 0.121 107.6);
Tailwind
colors: {
  custom: {
    50: '#bcb671',
    500: '#9c9934',
    950: '#000000',
  },
}
SCSS
$custom: #9c9934;
$custom-light: #bcb671;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9934",
  "rgb": {
    "r": 156,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 58.269,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66615,
    "c": 0.12129,
    "h": 107.6
  },
  "luminance": 0.30098
}

Semantic roles & 50–950 ramp

primary
#9C9934
secondary
#7173BB
accent
#52DA4E
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9C9934

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

Preview Lab → · Contrast checker → · Palette generator →

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