#9B9529#9B9529

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

Color values

HEX#9B9529
RGBrgb(155, 149, 41)
HSLhsl(57, 58%, 38%)
HSVhsv(57, 74%, 61%)
CMYKcmyk(0%, 3.9%, 73.5%, 39.2%)
CIE-LABlab(60.45, -10.59, 54.36)
CIE-LCHlch(60.45, 55.38, 101.03°)
OKLaboklab(65.54% -0.0348 0.1201)
OKLCHoklch(65.54% 0.125 106.2)
XYZxyz(24.6662, 28.6244, 6.3232)
Luminance0.2862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9529 #292F9B
analogous
#9B5C29 #9B9529 #689B29
triadic
#9B9529 #299B95 #95299B
tetradic
#9B9529 #299B5C #292F9B #9B2968
square
#9B9529 #299B5C #292F9B #9B2968
split-complementary
#9B9529 #29689B #5C299B
monochromatic
#3A380F #6B661C #9B9529 #CAC237 #D7D167

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9529#FFFFFF#000000##000000
##9B95291.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)
#A28F15
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#A78B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9529;
/* rgb */ color: rgb(155, 149, 41);
/* oklch */ color: oklch(65.5% 0.125 106.2);
Tailwind
colors: {
  custom: {
    50: '#bcb36b',
    500: '#9b9529',
    950: '#000000',
  },
}
SCSS
$custom: #9b9529;
$custom-light: #bcb36b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9529",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 56.842,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65541,
    "c": 0.12504,
    "h": 106.2
  },
  "luminance": 0.28624
}

Semantic roles & 50–950 ramp

primary
#9B9529
secondary
#6367BD
accent
#4FE146
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9529

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

Preview Lab → · Contrast checker → · Palette generator →

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