#9C9220#9C9220

#9C9220 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.9% C 0.127 H 104.1°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9C9220
RGBrgb(156, 146, 32)
HSLhsl(55, 66%, 37%)
HSVhsv(55, 79%, 61%)
CMYKcmyk(0%, 6.4%, 79.5%, 38.8%)
CIE-LABlab(59.64, -8.93, 56.75)
CIE-LCHlch(59.64, 57.45, 98.94°)
OKLaboklab(64.91% -0.031 0.1234)
OKLCHoklch(64.91% 0.127 104.1)
XYZxyz(24.2510, 27.7310, 5.4414)
Luminance0.2773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9220 #202A9C
analogous
#9C5420 #9C9220 #689C20
triadic
#9C9220 #209C92 #92209C
tetradic
#9C9220 #209C54 #202A9C #9C2068
square
#9C9220 #209C54 #202A9C #9C2068
split-complementary
#9C9220 #20689C #54209C
monochromatic
#36330B #696216 #9C9220 #CFC22A #DDD259

Accessibility & contrast

On white

3.21
#9C9220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#9C9220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9220
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9220#FFFFFF#000000##000000
##9C92201.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#A8877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c9220;
/* rgb */ color: rgb(156, 146, 32);
/* oklch */ color: oklch(64.9% 0.127 104.1);
Tailwind
colors: {
  custom: {
    50: '#bdb166',
    500: '#9c9220',
    950: '#000000',
  },
}
SCSS
$custom: #9c9220;
$custom-light: #bdb166;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9220",
  "rgb": {
    "r": 156,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 55.161,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64906,
    "c": 0.12724,
    "h": 104.1
  },
  "luminance": 0.2773
}

Semantic roles & 50–950 ramp

primary
#9C9220
secondary
#575FC1
accent
#4DE93F
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C9220

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

Preview Lab → · Contrast checker → · Palette generator →

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