#9B9920#9B9920

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

Color values

HEX#9B9920
RGBrgb(155, 153, 32)
HSLhsl(59, 66%, 37%)
HSVhsv(59, 79%, 61%)
CMYKcmyk(0%, 1.3%, 79.4%, 39.2%)
CIE-LABlab(61.53, -13.09, 58.41)
CIE-LCHlch(61.53, 59.86, 102.64°)
OKLaboklab(66.39% -0.0426 0.127)
OKLCHoklch(66.39% 0.134 108.6)
XYZxyz(25.1705, 29.8561, 5.8032)
Luminance0.2985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9920 #20229B
analogous
#9B5C20 #9B9920 #609B20
triadic
#9B9920 #209B99 #99209B
tetradic
#9B9920 #209B5C #20229B #9B2060
square
#9B9920 #209B5C #20229B #9B2060
split-complementary
#9B9920 #20609B #5C209B
monochromatic
#36350B #686716 #9B9920 #CECB2A #DDDB59

Accessibility & contrast

On white

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

On black

6.97
#9B9920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9920
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9920#FFFFFF#000000##000000
##9B99201.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9920;
/* rgb */ color: rgb(155, 153, 32);
/* oklch */ color: oklch(66.4% 0.134 108.6);
Tailwind
colors: {
  custom: {
    50: '#bcb667',
    500: '#9b9920',
    950: '#000000',
  },
}
SCSS
$custom: #9b9920;
$custom-light: #bcb667;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9920",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 59.024,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66387,
    "c": 0.13395,
    "h": 108.6
  },
  "luminance": 0.29855
}

Semantic roles & 50–950 ramp

primary
#9B9920
secondary
#5658C1
accent
#42E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9920

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

Preview Lab → · Contrast checker → · Palette generator →

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