#9B9323#9B9323

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

Color values

HEX#9B9323
RGBrgb(155, 147, 35)
HSLhsl(56, 63%, 37%)
HSVhsv(56, 77%, 61%)
CMYKcmyk(0%, 5.2%, 77.4%, 39.2%)
CIE-LABlab(59.85, -9.80, 55.92)
CIE-LCHlch(59.85, 56.77, 99.94°)
OKLaboklab(65.05% -0.0331 0.1223)
OKLCHoklch(65.05% 0.127 105.2)
XYZxyz(24.2557, 27.9583, 5.7086)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9323 #232B9B
analogous
#9B5723 #9B9323 #679B23
triadic
#9B9323 #239B93 #93239B
tetradic
#9B9323 #239B57 #232B9B #9B2367
square
#9B9323 #239B57 #232B9B #9B2367
split-complementary
#9B9323 #23679B #57239B
monochromatic
#37340C #696418 #9B9323 #CDC22E #DBD25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9323#FFFFFF#000000##000000
##9B93231.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)
#A08E08
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#A7897E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b9323;
/* rgb */ color: rgb(155, 147, 35);
/* oklch */ color: oklch(65.1% 0.127 105.2);
Tailwind
colors: {
  custom: {
    50: '#bcb268',
    500: '#9b9323',
    950: '#000000',
  },
}
SCSS
$custom: #9b9323;
$custom-light: #bcb268;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9323",
  "rgb": {
    "r": 155,
    "g": 147,
    "b": 35
  },
  "hsl": {
    "h": 56,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65054,
    "c": 0.12667,
    "h": 105.2
  },
  "luminance": 0.27957
}

Semantic roles & 50–950 ramp

primary
#9B9323
secondary
#5A61BF
accent
#4DE642
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B9323

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

Preview Lab → · Contrast checker → · Palette generator →

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