#9D9622#9D9622

#9D9622 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.9% C 0.130 H 105.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9D9622
RGBrgb(157, 150, 34)
HSLhsl(57, 64%, 37%)
HSVhsv(57, 78%, 62%)
CMYKcmyk(0%, 4.5%, 78.3%, 38.4%)
CIE-LABlab(60.87, -10.54, 57.25)
CIE-LCHlch(60.87, 58.21, 100.43°)
OKLaboklab(65.9% -0.0354 0.1248)
OKLCHoklch(65.9% 0.13 105.8)
XYZxyz(25.1008, 29.0972, 5.8072)
Luminance0.2910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9622 #22299D
analogous
#9D5822 #9D9622 #679D22
triadic
#9D9622 #229D96 #96229D
tetradic
#9D9622 #229D58 #22299D #9D2267
square
#9D9622 #229D58 #22299D #9D2267
split-complementary
#9D9622 #22679D #58229D
monochromatic
#38360C #6B6617 #9D9622 #CFC62D #DCD55D

Accessibility & contrast

On white

3.08
#9D9622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#9D9622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9622
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9622#FFFFFF#000000##000000
##9D96221.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d9622;
/* rgb */ color: rgb(157, 150, 34);
/* oklch */ color: oklch(65.9% 0.130 105.8);
Tailwind
colors: {
  custom: {
    50: '#beb468',
    500: '#9d9622',
    950: '#000000',
  },
}
SCSS
$custom: #9d9622;
$custom-light: #beb468;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9622",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 56.585,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65904,
    "c": 0.12974,
    "h": 105.8
  },
  "luminance": 0.29096
}

Semantic roles & 50–950 ramp

primary
#9D9622
secondary
#5A60C1
accent
#4AE740
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9622

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

Preview Lab → · Contrast checker → · Palette generator →

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