#9C9422#9C9422

#9C9422 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.4% C 0.128 H 105.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9C9422
RGBrgb(156, 148, 34)
HSLhsl(56, 64%, 37%)
HSVhsv(56, 78%, 61%)
CMYKcmyk(0%, 5.1%, 78.2%, 38.8%)
CIE-LABlab(60.22, -9.92, 56.62)
CIE-LCHlch(60.22, 57.49, 99.94°)
OKLaboklab(65.36% -0.0336 0.1235)
OKLCHoklch(65.36% 0.128 105.2)
XYZxyz(24.5900, 28.3642, 5.6926)
Luminance0.2836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9422 #222A9C
analogous
#9C5722 #9C9422 #679C22
triadic
#9C9422 #229C94 #94229C
tetradic
#9C9422 #229C57 #222A9C #9C2267
square
#9C9422 #229C57 #222A9C #9C2267
split-complementary
#9C9422 #22679C #57229C
monochromatic
#38350C #6A6417 #9C9422 #CEC42D #DCD35D

Accessibility & contrast

On white

3.15
#9C9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#9C9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9422
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9422#FFFFFF#000000##000000
##9C94221.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E04
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#A8897F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9c9422;
/* rgb */ color: rgb(156, 148, 34);
/* oklch */ color: oklch(65.4% 0.128 105.2);
Tailwind
colors: {
  custom: {
    50: '#bdb367',
    500: '#9c9422',
    950: '#000000',
  },
}
SCSS
$custom: #9c9422;
$custom-light: #bdb367;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9422",
  "rgb": {
    "r": 156,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 56.066,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65364,
    "c": 0.12802,
    "h": 105.2
  },
  "luminance": 0.28363
}

Semantic roles & 50–950 ramp

primary
#9C9422
secondary
#5A60C0
accent
#4CE741
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9C9422

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

Preview Lab → · Contrast checker → · Palette generator →

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