#9D9522#9D9522

#9D9522 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.7% C 0.129 H 105.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9D9522
RGBrgb(157, 149, 34)
HSLhsl(56, 64%, 37%)
HSVhsv(56, 78%, 62%)
CMYKcmyk(0%, 5.1%, 78.3%, 38.4%)
CIE-LABlab(60.59, -10.00, 56.99)
CIE-LCHlch(60.59, 57.86, 99.96°)
OKLaboklab(65.68% -0.0339 0.1243)
OKLCHoklch(65.68% 0.129 105.3)
XYZxyz(24.9419, 28.7795, 5.7542)
Luminance0.2878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9522 #222A9D
analogous
#9D5822 #9D9522 #679D22
triadic
#9D9522 #229D95 #95229D
tetradic
#9D9522 #229D58 #222A9D #9D2267
square
#9D9522 #229D58 #222A9D #9D2267
split-complementary
#9D9522 #22679D #58229D
monochromatic
#38360C #6B6517 #9D9522 #CFC52D #DCD45D

Accessibility & contrast

On white

3.11
#9D9522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#9D9522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9522
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9522#FFFFFF#000000##000000
##9D95221.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F03
Deuteranopia (green-blind)
#A6942B
Tritanopia (blue-blind)
#A98A80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d9522;
/* rgb */ color: rgb(157, 149, 34);
/* oklch */ color: oklch(65.7% 0.129 105.3);
Tailwind
colors: {
  custom: {
    50: '#beb367',
    500: '#9d9522',
    950: '#000000',
  },
}
SCSS
$custom: #9d9522;
$custom-light: #beb367;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9522",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 56.098,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65681,
    "c": 0.12881,
    "h": 105.3
  },
  "luminance": 0.28778
}

Semantic roles & 50–950 ramp

primary
#9D9522
secondary
#5A61C1
accent
#4BE740
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9522

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

Preview Lab → · Contrast checker → · Palette generator →

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