#9B9325#9B9325

#9B9325 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.1% C 0.126 H 105.1°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9B9325
RGBrgb(155, 147, 37)
HSLhsl(56, 61%, 38%)
HSVhsv(56, 76%, 61%)
CMYKcmyk(0%, 5.2%, 76.1%, 39.2%)
CIE-LABlab(59.86, -9.71, 55.25)
CIE-LCHlch(59.86, 56.09, 99.97°)
OKLaboklab(65.07% -0.0327 0.1212)
OKLCHoklch(65.07% 0.126 105.1)
XYZxyz(24.2863, 27.9705, 5.8695)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9325 #252D9B
analogous
#9B5825 #9B9325 #689B25
triadic
#9B9325 #259B93 #93259B
tetradic
#9B9325 #259B58 #252D9B #9B2568
square
#9B9325 #259B58 #252D9B #9B2568
split-complementary
#9B9325 #25689B #58259B
monochromatic
#38350D #6A6419 #9B9325 #CCC231 #D9D161

Accessibility & contrast

On white

3.18
#9B9325 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9B9325 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9325
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9325#FFFFFF#000000##000000
##9B93251.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E0D
Deuteranopia (green-blind)
#A3922D
Tritanopia (blue-blind)
#A7897E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b9325;
/* rgb */ color: rgb(155, 147, 37);
/* oklch */ color: oklch(65.1% 0.126 105.1);
Tailwind
colors: {
  custom: {
    50: '#bcb269',
    500: '#9b9325',
    950: '#000000',
  },
}
SCSS
$custom: #9b9325;
$custom-light: #bcb269;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9325",
  "rgb": {
    "r": 155,
    "g": 147,
    "b": 37
  },
  "hsl": {
    "h": 55.932,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65066,
    "c": 0.12555,
    "h": 105.1
  },
  "luminance": 0.2797
}

Semantic roles & 50–950 ramp

primary
#9B9325
secondary
#5D64BF
accent
#4EE543
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B9325

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

Preview Lab → · Contrast checker → · Palette generator →

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