#9B9525#9B9525

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

Color values

HEX#9B9525
RGBrgb(155, 149, 37)
HSLhsl(57, 61%, 38%)
HSVhsv(57, 76%, 61%)
CMYKcmyk(0%, 3.9%, 76.1%, 39.2%)
CIE-LABlab(60.43, -10.78, 55.77)
CIE-LCHlch(60.43, 56.80, 100.94°)
OKLaboklab(65.51% -0.0357 0.1223)
OKLCHoklch(65.51% 0.127 106.3)
XYZxyz(24.6000, 28.5979, 5.9740)
Luminance0.2860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9525 #252B9B
analogous
#9B5A25 #9B9525 #669B25
triadic
#9B9525 #259B95 #95259B
tetradic
#9B9525 #259B5A #252B9B #9B2566
square
#9B9525 #259B5A #252B9B #9B2566
split-complementary
#9B9525 #25669B #5A259B
monochromatic
#38360D #6A6619 #9B9525 #CCC431 #D9D361

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9b9525;
/* rgb */ color: rgb(155, 149, 37);
/* oklch */ color: oklch(65.5% 0.127 106.3);
Tailwind
colors: {
  custom: {
    50: '#bcb369',
    500: '#9b9525',
    950: '#000000',
  },
}
SCSS
$custom: #9b9525;
$custom-light: #bcb369;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9525",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 56.949,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65514,
    "c": 0.12744,
    "h": 106.3
  },
  "luminance": 0.28597
}

Semantic roles & 50–950 ramp

primary
#9B9525
secondary
#5D62BF
accent
#4BE543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9525

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

Preview Lab → · Contrast checker → · Palette generator →

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