#9C9722#9C9722

#9C9722 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.0% C 0.131 H 106.9°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9C9722
RGBrgb(156, 151, 34)
HSLhsl(58, 64%, 37%)
HSVhsv(58, 78%, 61%)
CMYKcmyk(0%, 3.2%, 78.2%, 38.8%)
CIE-LABlab(61.06, -11.51, 57.39)
CIE-LCHlch(61.06, 58.53, 101.35°)
OKLaboklab(66.04% -0.0381 0.1252)
OKLCHoklch(66.04% 0.131 106.9)
XYZxyz(25.0667, 29.3175, 5.8515)
Luminance0.2932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9722 #22279C
analogous
#9C5A22 #9C9722 #649C22
triadic
#9C9722 #229C97 #97229C
tetradic
#9C9722 #229C5A #22279C #9C2264
square
#9C9722 #229C5A #22279C #9C2264
split-complementary
#9C9722 #22649C #5A229C
monochromatic
#38360C #6A6617 #9C9722 #CEC82D #DCD65D

Accessibility & contrast

On white

3.06
#9C9722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#9C9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9722
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9722#FFFFFF#000000##000000
##9C97221.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49102
Deuteranopia (green-blind)
#A7952C
Tritanopia (blue-blind)
#A88D81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c9722;
/* rgb */ color: rgb(156, 151, 34);
/* oklch */ color: oklch(66.0% 0.131 106.9);
Tailwind
colors: {
  custom: {
    50: '#bdb568',
    500: '#9c9722',
    950: '#000000',
  },
}
SCSS
$custom: #9c9722;
$custom-light: #bdb568;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9722",
  "rgb": {
    "r": 156,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 57.541,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66037,
    "c": 0.13082,
    "h": 106.9
  },
  "luminance": 0.29317
}

Semantic roles & 50–950 ramp

primary
#9C9722
secondary
#5A5EC0
accent
#47E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9C9722

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

Preview Lab → · Contrast checker → · Palette generator →

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