#9B9522#9B9522

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

Color values

HEX#9B9522
RGBrgb(155, 149, 34)
HSLhsl(57, 64%, 37%)
HSVhsv(57, 78%, 61%)
CMYKcmyk(0%, 3.9%, 78.1%, 39.2%)
CIE-LABlab(60.41, -10.90, 56.76)
CIE-LCHlch(60.41, 57.80, 100.87°)
OKLaboklab(65.5% -0.0363 0.1239)
OKLCHoklch(65.5% 0.129 106.4)
XYZxyz(24.5548, 28.5799, 5.7361)
Luminance0.2858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9522 #22289B
analogous
#9B5922 #9B9522 #659B22
triadic
#9B9522 #229B95 #95229B
tetradic
#9B9522 #229B59 #22289B #9B2265
square
#9B9522 #229B59 #22289B #9B2265
split-complementary
#9B9522 #22659B #59229B
monochromatic
#37350C #696517 #9B9522 #CDC52D #DBD55C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9522#FFFFFF#000000##000000
##9B95221.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)
#A28F04
Deuteranopia (green-blind)
#A5942B
Tritanopia (blue-blind)
#A78B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9522;
/* rgb */ color: rgb(155, 149, 34);
/* oklch */ color: oklch(65.5% 0.129 106.4);
Tailwind
colors: {
  custom: {
    50: '#bcb367',
    500: '#9b9522',
    950: '#000000',
  },
}
SCSS
$custom: #9b9522;
$custom-light: #bcb367;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9522",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 57.025,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65496,
    "c": 0.12908,
    "h": 106.4
  },
  "luminance": 0.28579
}

Semantic roles & 50–950 ramp

primary
#9B9522
secondary
#595EC0
accent
#49E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9522

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

Preview Lab → · Contrast checker → · Palette generator →

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