#9B9720#9B9720

#9B9720 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.9% C 0.132 H 107.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9B9720
RGBrgb(155, 151, 32)
HSLhsl(58, 66%, 37%)
HSVhsv(58, 79%, 61%)
CMYKcmyk(0%, 2.6%, 79.4%, 39.2%)
CIE-LABlab(60.96, -12.04, 57.90)
CIE-LCHlch(60.96, 59.14, 101.75°)
OKLaboklab(65.94% -0.0397 0.1259)
OKLCHoklch(65.94% 0.132 107.5)
XYZxyz(24.8459, 29.2069, 5.6949)
Luminance0.2921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9720 #20249B
analogous
#9B5A20 #9B9720 #629B20
triadic
#9B9720 #209B97 #97209B
tetradic
#9B9720 #209B5A #20249B #9B2062
square
#9B9720 #209B5A #20249B #9B2062
split-complementary
#9B9720 #20629B #5A209B
monochromatic
#36340B #686616 #9B9720 #CEC82A #DDD859

Accessibility & contrast

On white

3.07
#9B9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#9B9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9720
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9720#FFFFFF#000000##000000
##9B97201.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A6952A
Tritanopia (blue-blind)
#A78D81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9b9720;
/* rgb */ color: rgb(155, 151, 32);
/* oklch */ color: oklch(65.9% 0.132 107.5);
Tailwind
colors: {
  custom: {
    50: '#bcb567',
    500: '#9b9720',
    950: '#000000',
  },
}
SCSS
$custom: #9b9720;
$custom-light: #bcb567;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9720",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 58.049,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65936,
    "c": 0.13202,
    "h": 107.5
  },
  "luminance": 0.29206
}

Semantic roles & 50–950 ramp

primary
#9B9720
secondary
#565AC1
accent
#45E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9B9720

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

Preview Lab → · Contrast checker → · Palette generator →

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