#9B9528#9B9528

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

Color values

HEX#9B9528
RGBrgb(155, 149, 40)
HSLhsl(57, 59%, 38%)
HSVhsv(57, 74%, 61%)
CMYKcmyk(0%, 3.9%, 74.2%, 39.2%)
CIE-LABlab(60.44, -10.64, 54.72)
CIE-LCHlch(60.44, 55.75, 101.00°)
OKLaboklab(65.53% -0.035 0.1207)
OKLCHoklch(65.53% 0.126 106.2)
XYZxyz(24.6490, 28.6176, 6.2324)
Luminance0.2862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9528 #282E9B
analogous
#9B5C28 #9B9528 #679B28
triadic
#9B9528 #289B95 #95289B
tetradic
#9B9528 #289B5C #282E9B #9B2867
square
#9B9528 #289B5C #282E9B #9B2867
split-complementary
#9B9528 #28679B #5C289B
monochromatic
#3A370F #6A661B #9B9528 #CBC335 #D7D266

Accessibility & contrast

On white

3.12
#9B9528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#9B9528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9528
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9528#FFFFFF#000000##000000
##9B95281.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F13
Deuteranopia (green-blind)
#A59430
Tritanopia (blue-blind)
#A78B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9528;
/* rgb */ color: rgb(155, 149, 40);
/* oklch */ color: oklch(65.5% 0.126 106.2);
Tailwind
colors: {
  custom: {
    50: '#bcb36a',
    500: '#9b9528',
    950: '#000000',
  },
}
SCSS
$custom: #9b9528;
$custom-light: #bcb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9528",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 56.87,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65534,
    "c": 0.12565,
    "h": 106.2
  },
  "luminance": 0.28617
}

Semantic roles & 50–950 ramp

primary
#9B9528
secondary
#6166BD
accent
#4EE246
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9528

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

Preview Lab → · Contrast checker → · Palette generator →

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