#9D9924#9D9924

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

Color values

HEX#9D9924
RGBrgb(157, 153, 36)
HSLhsl(58, 63%, 38%)
HSVhsv(58, 77%, 62%)
CMYKcmyk(0%, 2.5%, 77.1%, 38.4%)
CIE-LABlab(61.72, -12.04, 57.37)
CIE-LCHlch(61.72, 58.62, 101.86°)
OKLaboklab(66.59% -0.0394 0.1255)
OKLCHoklch(66.59% 0.132 107.5)
XYZxyz(25.6153, 30.0788, 6.1252)
Luminance0.3008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9924 #24289D
analogous
#9D5D24 #9D9924 #649D24
triadic
#9D9924 #249D99 #99249D
tetradic
#9D9924 #249D5D #24289D #9D2464
square
#9D9924 #249D5D #24289D #9D2464
split-complementary
#9D9924 #24649D #5D249D
monochromatic
#39380D #6B6819 #9D9924 #CFCA2F #DBD761

Accessibility & contrast

On white

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

On black

7.02
#9D9924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9924
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9924#FFFFFF#000000##000000
##9D99241.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69306
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#A98F83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d9924;
/* rgb */ color: rgb(157, 153, 36);
/* oklch */ color: oklch(66.6% 0.132 107.5);
Tailwind
colors: {
  custom: {
    50: '#beb669',
    500: '#9d9924',
    950: '#000000',
  },
}
SCSS
$custom: #9d9924;
$custom-light: #beb669;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9924",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 58.017,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66589,
    "c": 0.13152,
    "h": 107.5
  },
  "luminance": 0.30078
}

Semantic roles & 50–950 ramp

primary
#9D9924
secondary
#5D60C0
accent
#47E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9924

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

Preview Lab → · Contrast checker → · Palette generator →

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