#9B9524#9B9524

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

Color values

HEX#9B9524
RGBrgb(155, 149, 36)
HSLhsl(57, 62%, 37%)
HSVhsv(57, 77%, 61%)
CMYKcmyk(0%, 3.9%, 76.8%, 39.2%)
CIE-LABlab(60.42, -10.82, 56.11)
CIE-LCHlch(60.42, 57.14, 100.92°)
OKLaboklab(65.51% -0.0359 0.1229)
OKLCHoklch(65.51% 0.128 106.3)
XYZxyz(24.5845, 28.5917, 5.8925)
Luminance0.2859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9524 #242A9B
analogous
#9B5A24 #9B9524 #659B24
triadic
#9B9524 #249B95 #95249B
tetradic
#9B9524 #249B5A #242A9B #9B2465
square
#9B9524 #249B5A #242A9B #9B2465
split-complementary
#9B9524 #24659B #5A249B
monochromatic
#38360D #696518 #9B9524 #CDC530 #DAD45F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9524#FFFFFF#000000##000000
##9B95241.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9524;
/* rgb */ color: rgb(155, 149, 36);
/* oklch */ color: oklch(65.5% 0.128 106.3);
Tailwind
colors: {
  custom: {
    50: '#bcb368',
    500: '#9b9524',
    950: '#000000',
  },
}
SCSS
$custom: #9b9524;
$custom-light: #bcb368;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9524",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 56.975,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65508,
    "c": 0.12799,
    "h": 106.3
  },
  "luminance": 0.28591
}

Semantic roles & 50–950 ramp

primary
#9B9524
secondary
#5C61BF
accent
#4BE542
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9524

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

Preview Lab → · Contrast checker → · Palette generator →

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