#9D9922#9D9922

#9D9922 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.6% C 0.133 H 107.5°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9D9922
RGBrgb(157, 153, 34)
HSLhsl(58, 64%, 37%)
HSVhsv(58, 78%, 62%)
CMYKcmyk(0%, 2.5%, 78.3%, 38.4%)
CIE-LABlab(61.71, -12.12, 58.01)
CIE-LCHlch(61.71, 59.26, 101.80°)
OKLaboklab(66.58% -0.0398 0.1264)
OKLCHoklch(66.58% 0.133 107.5)
XYZxyz(25.5856, 30.0670, 5.9688)
Luminance0.3007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9922 #22269D
analogous
#9D5C22 #9D9922 #639D22
triadic
#9D9922 #229D99 #99229D
tetradic
#9D9922 #229D5C #22269D #9D2263
square
#9D9922 #229D5C #22269D #9D2263
split-complementary
#9D9922 #22639D #5C229D
monochromatic
#38370C #6B6817 #9D9922 #CFCA2D #DCD85D

Accessibility & contrast

On white

2.99
#9D9922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#9D9922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9922
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9922#FFFFFF#000000##000000
##9D99221.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69301
Deuteranopia (green-blind)
#A9972C
Tritanopia (blue-blind)
#A98E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d9922;
/* rgb */ color: rgb(157, 153, 34);
/* oklch */ color: oklch(66.6% 0.133 107.5);
Tailwind
colors: {
  custom: {
    50: '#beb668',
    500: '#9d9922',
    950: '#000000',
  },
}
SCSS
$custom: #9d9922;
$custom-light: #beb668;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9922",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 58.049,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66578,
    "c": 0.13257,
    "h": 107.5
  },
  "luminance": 0.30066
}

Semantic roles & 50–950 ramp

primary
#9D9922
secondary
#5A5EC1
accent
#46E740
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9922

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

Preview Lab → · Contrast checker → · Palette generator →

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