#9B9924#9B9924

#9B9924 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.4% C 0.132 H 108.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9B9924
RGBrgb(155, 153, 36)
HSLhsl(59, 62%, 37%)
HSVhsv(59, 77%, 61%)
CMYKcmyk(0%, 1.3%, 76.8%, 39.2%)
CIE-LABlab(61.55, -12.94, 57.15)
CIE-LCHlch(61.55, 58.59, 102.75°)
OKLaboklab(66.41% -0.0418 0.1251)
OKLCHoklch(66.41% 0.132 108.5)
XYZxyz(25.2282, 29.8792, 6.1071)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9924 #24269B
analogous
#9B5E24 #9B9924 #619B24
triadic
#9B9924 #249B99 #99249B
tetradic
#9B9924 #249B5E #24269B #9B2461
square
#9B9924 #249B5E #24269B #9B2461
split-complementary
#9B9924 #24619B #5E249B
monochromatic
#38370D #696818 #9B9924 #CDCA30 #DAD85F

Accessibility & contrast

On white

3.01
#9B9924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#9B9924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9924
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9924#FFFFFF#000000##000000
##9B99241.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9924;
/* rgb */ color: rgb(155, 153, 36);
/* oklch */ color: oklch(66.4% 0.132 108.5);
Tailwind
colors: {
  custom: {
    50: '#bcb669',
    500: '#9b9924',
    950: '#000000',
  },
}
SCSS
$custom: #9b9924;
$custom-light: #bcb669;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9924",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 58.992,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6641,
    "c": 0.13188,
    "h": 108.5
  },
  "luminance": 0.29878
}

Semantic roles & 50–950 ramp

primary
#9B9924
secondary
#5C5EBF
accent
#45E542
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9924

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

Preview Lab → · Contrast checker → · Palette generator →

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