#9C9833#9C9833

#9C9833 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.121 H 107.1°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9C9833
RGBrgb(156, 152, 51)
HSLhsl(58, 51%, 41%)
HSVhsv(58, 67%, 61%)
CMYKcmyk(0%, 2.6%, 67.3%, 38.8%)
CIE-LABlab(61.45, -11.20, 51.44)
CIE-LCHlch(61.45, 52.64, 102.28°)
OKLaboklab(66.38% -0.0355 0.1157)
OKLCHoklch(66.38% 0.121 107.1)
XYZxyz(25.5370, 29.7642, 7.5312)
Luminance0.2976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9833 #33379C
analogous
#9C6333 #9C9833 #6B9C33
triadic
#9C9833 #339C98 #98339C
tetradic
#9C9833 #339C63 #33379C #9C336B
square
#9C9833 #339C63 #33379C #9C336B
split-complementary
#9C9833 #336B9C #63339C
monochromatic
#403E15 #6E6B24 #9C9833 #C3BF49 #D3CF77

Accessibility & contrast

On white

3.02
#9C9833 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#9C9833 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9833
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9833#FFFFFF#000000##000000
##9C98331.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59225
Deuteranopia (green-blind)
#A7963A
Tritanopia (blue-blind)
#A78E83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9c9833;
/* rgb */ color: rgb(156, 152, 51);
/* oklch */ color: oklch(66.4% 0.121 107.1);
Tailwind
colors: {
  custom: {
    50: '#bcb670',
    500: '#9c9833',
    950: '#000000',
  },
}
SCSS
$custom: #9c9833;
$custom-light: #bcb670;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9833",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 51
  },
  "hsl": {
    "h": 57.714,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66382,
    "c": 0.12101,
    "h": 107.1
  },
  "luminance": 0.29763
}

Semantic roles & 50–950 ramp

primary
#9C9833
secondary
#7073BB
accent
#53DA4E
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9C9833

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

Preview Lab → · Contrast checker → · Palette generator →

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