#9B9320#9B9320

#9B9320 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.0% C 0.128 H 105.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9B9320
RGBrgb(155, 147, 32)
HSLhsl(56, 66%, 37%)
HSVhsv(56, 79%, 61%)
CMYKcmyk(0%, 5.2%, 79.4%, 39.2%)
CIE-LABlab(59.84, -9.92, 56.89)
CIE-LCHlch(59.84, 57.75, 99.89°)
OKLaboklab(65.04% -0.0337 0.1237)
OKLCHoklch(65.04% 0.128 105.3)
XYZxyz(24.2131, 27.9412, 5.4840)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9320 #20289B
analogous
#9B5620 #9B9320 #659B20
triadic
#9B9320 #209B93 #93209B
tetradic
#9B9320 #209B56 #20289B #9B2065
square
#9B9320 #209B56 #20289B #9B2065
split-complementary
#9B9320 #20659B #56209B
monochromatic
#36330B #686316 #9B9320 #CEC32A #DDD459

Accessibility & contrast

On white

3.19
#9B9320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9320#FFFFFF#000000##000000
##9B93201.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#A7887E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b9320;
/* rgb */ color: rgb(155, 147, 32);
/* oklch */ color: oklch(65.0% 0.128 105.3);
Tailwind
colors: {
  custom: {
    50: '#bcb266',
    500: '#9b9320',
    950: '#000000',
  },
}
SCSS
$custom: #9b9320;
$custom-light: #bcb266;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9320",
  "rgb": {
    "r": 155,
    "g": 147,
    "b": 32
  },
  "hsl": {
    "h": 56.098,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65036,
    "c": 0.12826,
    "h": 105.3
  },
  "luminance": 0.2794
}

Semantic roles & 50–950 ramp

primary
#9B9320
secondary
#565DC1
accent
#4AE93F
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B9320

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

Preview Lab → · Contrast checker → · Palette generator →

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