#9B9526#9B9526

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

Color values

HEX#9B9526
RGBrgb(155, 149, 38)
HSLhsl(57, 61%, 38%)
HSVhsv(57, 75%, 61%)
CMYKcmyk(0%, 3.9%, 75.5%, 39.2%)
CIE-LABlab(60.43, -10.73, 55.43)
CIE-LCHlch(60.43, 56.46, 100.96°)
OKLaboklab(65.52% -0.0355 0.1218)
OKLCHoklch(65.52% 0.127 106.2)
XYZxyz(24.6159, 28.6043, 6.0579)
Luminance0.2860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9526 #262C9B
analogous
#9B5A26 #9B9526 #669B26
triadic
#9B9526 #269B95 #95269B
tetradic
#9B9526 #269B5A #262C9B #9B2666
square
#9B9526 #269B5A #262C9B #9B2666
split-complementary
#9B9526 #26669B #5A269B
monochromatic
#39370E #6A661A #9B9526 #CCC432 #D9D363

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9526#FFFFFF#000000##000000
##9B95261.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)
#A28F0F
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#A78B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9526;
/* rgb */ color: rgb(155, 149, 38);
/* oklch */ color: oklch(65.5% 0.127 106.2);
Tailwind
colors: {
  custom: {
    50: '#bcb369',
    500: '#9b9526',
    950: '#000000',
  },
}
SCSS
$custom: #9b9526;
$custom-light: #bcb369;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9526",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 56.923,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65521,
    "c": 0.12686,
    "h": 106.2
  },
  "luminance": 0.28603
}

Semantic roles & 50–950 ramp

primary
#9B9526
secondary
#5F64BE
accent
#4CE444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9526

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

Preview Lab → · Contrast checker → · Palette generator →

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