#9B9520#9B9520

#9B9520 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.5% C 0.130 H 106.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9B9520
RGBrgb(155, 149, 32)
HSLhsl(57, 66%, 37%)
HSVhsv(57, 79%, 61%)
CMYKcmyk(0%, 3.9%, 79.4%, 39.2%)
CIE-LABlab(60.40, -10.98, 57.40)
CIE-LCHlch(60.40, 58.44, 100.83°)
OKLaboklab(65.49% -0.0367 0.1248)
OKLCHoklch(65.49% 0.13 106.4)
XYZxyz(24.5268, 28.5687, 5.5886)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9520 #20269B
analogous
#9B5820 #9B9520 #649B20
triadic
#9B9520 #209B95 #95209B
tetradic
#9B9520 #209B58 #20269B #9B2064
square
#9B9520 #209B58 #20269B #9B2064
split-complementary
#9B9520 #20649B #58209B
monochromatic
#36330B #686416 #9B9520 #CEC62A #DDD659

Accessibility & contrast

On white

3.13
#9B9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#9B9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9520
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9520#FFFFFF#000000##000000
##9B95201.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A5942A
Tritanopia (blue-blind)
#A78B7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9520;
/* rgb */ color: rgb(155, 149, 32);
/* oklch */ color: oklch(65.5% 0.130 106.4);
Tailwind
colors: {
  custom: {
    50: '#bcb367',
    500: '#9b9520',
    950: '#000000',
  },
}
SCSS
$custom: #9b9520;
$custom-light: #bcb367;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9520",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 57.073,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65485,
    "c": 0.13011,
    "h": 106.4
  },
  "luminance": 0.28568
}

Semantic roles & 50–950 ramp

primary
#9B9520
secondary
#565BC1
accent
#47E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9B9520

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

Preview Lab → · Contrast checker → · Palette generator →

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