#9B9620#9B9620

#9B9620 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.7% C 0.131 H 107.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9B9620
RGBrgb(155, 150, 32)
HSLhsl(58, 66%, 37%)
HSVhsv(58, 79%, 61%)
CMYKcmyk(0%, 3.2%, 79.4%, 39.2%)
CIE-LABlab(60.68, -11.51, 57.65)
CIE-LCHlch(60.68, 58.79, 101.29°)
OKLaboklab(65.71% -0.0382 0.1254)
OKLCHoklch(65.71% 0.131 107)
XYZxyz(24.6857, 28.8864, 5.6415)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9620 #20259B
analogous
#9B5920 #9B9620 #639B20
triadic
#9B9620 #209B96 #96209B
tetradic
#9B9620 #209B59 #20259B #9B2063
square
#9B9620 #209B59 #20259B #9B2063
split-complementary
#9B9620 #20639B #59209B
monochromatic
#36340B #686516 #9B9620 #CEC72A #DDD759

Accessibility & contrast

On white

3.10
#9B9620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#9B9620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9620
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9620#FFFFFF#000000##000000
##9B96201.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A6942A
Tritanopia (blue-blind)
#A78C80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9620;
/* rgb */ color: rgb(155, 150, 32);
/* oklch */ color: oklch(65.7% 0.131 107.0);
Tailwind
colors: {
  custom: {
    50: '#bcb467',
    500: '#9b9620',
    950: '#000000',
  },
}
SCSS
$custom: #9b9620;
$custom-light: #bcb467;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9620",
  "rgb": {
    "r": 155,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 57.561,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6571,
    "c": 0.13106,
    "h": 107
  },
  "luminance": 0.28886
}

Semantic roles & 50–950 ramp

primary
#9B9620
secondary
#565BC1
accent
#46E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9B9620

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

Preview Lab → · Contrast checker → · Palette generator →

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