#9B9523#9B9523

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

Color values

HEX#9B9523
RGBrgb(155, 149, 35)
HSLhsl(57, 63%, 37%)
HSVhsv(57, 77%, 61%)
CMYKcmyk(0%, 3.9%, 77.4%, 39.2%)
CIE-LABlab(60.41, -10.86, 56.44)
CIE-LCHlch(60.41, 57.48, 100.89°)
OKLaboklab(65.5% -0.0361 0.1234)
OKLCHoklch(65.5% 0.129 106.3)
XYZxyz(24.5694, 28.5857, 5.8132)
Luminance0.2858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9523 #23299B
analogous
#9B5923 #9B9523 #659B23
triadic
#9B9523 #239B95 #95239B
tetradic
#9B9523 #239B59 #23299B #9B2365
square
#9B9523 #239B59 #23299B #9B2365
split-complementary
#9B9523 #23659B #59239B
monochromatic
#37350C #696518 #9B9523 #CDC52E #DBD45E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9523#FFFFFF#000000##000000
##9B95231.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)
#A28F06
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#A78B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9523;
/* rgb */ color: rgb(155, 149, 35);
/* oklch */ color: oklch(65.5% 0.129 106.3);
Tailwind
colors: {
  custom: {
    50: '#bcb368',
    500: '#9b9523',
    950: '#000000',
  },
}
SCSS
$custom: #9b9523;
$custom-light: #bcb368;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9523",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 57,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65502,
    "c": 0.12854,
    "h": 106.3
  },
  "luminance": 0.28585
}

Semantic roles & 50–950 ramp

primary
#9B9523
secondary
#5A60BF
accent
#4AE642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9523

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

Preview Lab → · Contrast checker → · Palette generator →

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