#9C9622#9C9622

#9C9622 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.8% C 0.130 H 106.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9C9622
RGBrgb(156, 150, 34)
HSLhsl(57, 64%, 37%)
HSVhsv(57, 78%, 61%)
CMYKcmyk(0%, 3.8%, 78.2%, 38.8%)
CIE-LABlab(60.78, -10.98, 57.13)
CIE-LCHlch(60.78, 58.18, 100.88°)
OKLaboklab(65.81% -0.0366 0.1246)
OKLCHoklch(65.81% 0.13 106.4)
XYZxyz(24.9064, 28.9970, 5.7981)
Luminance0.2900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9622 #22289C
analogous
#9C5922 #9C9622 #659C22
triadic
#9C9622 #229C96 #96229C
tetradic
#9C9622 #229C59 #22289C #9C2265
square
#9C9622 #229C59 #22289C #9C2265
split-complementary
#9C9622 #22659C #59229C
monochromatic
#38350C #6A6617 #9C9622 #CEC62D #DCD55D

Accessibility & contrast

On white

3.09
#9C9622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#9C9622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9622
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9622#FFFFFF#000000##000000
##9C96221.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39003
Deuteranopia (green-blind)
#A6952B
Tritanopia (blue-blind)
#A88B80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c9622;
/* rgb */ color: rgb(156, 150, 34);
/* oklch */ color: oklch(65.8% 0.130 106.4);
Tailwind
colors: {
  custom: {
    50: '#bdb468',
    500: '#9c9622',
    950: '#000000',
  },
}
SCSS
$custom: #9c9622;
$custom-light: #bdb468;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9622",
  "rgb": {
    "r": 156,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 57.049,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65813,
    "c": 0.12988,
    "h": 106.4
  },
  "luminance": 0.28996
}

Semantic roles & 50–950 ramp

primary
#9C9622
secondary
#5A5FC0
accent
#49E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9C9622

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

Preview Lab → · Contrast checker → · Palette generator →

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