#9B9420#9B9420

#9B9420 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.3% C 0.129 H 105.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9B9420
RGBrgb(155, 148, 32)
HSLhsl(57, 66%, 37%)
HSVhsv(57, 79%, 61%)
CMYKcmyk(0%, 4.5%, 79.4%, 39.2%)
CIE-LABlab(60.12, -10.45, 57.14)
CIE-LCHlch(60.12, 58.09, 100.36°)
OKLaboklab(65.26% -0.0352 0.1243)
OKLCHoklch(65.26% 0.129 105.8)
XYZxyz(24.3692, 28.2536, 5.5361)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9420 #20279B
analogous
#9B5720 #9B9420 #659B20
triadic
#9B9420 #209B94 #94209B
tetradic
#9B9420 #209B57 #20279B #9B2065
square
#9B9420 #209B57 #20279B #9B2065
split-complementary
#9B9420 #20659B #57209B
monochromatic
#36330B #686416 #9B9420 #CEC42A #DDD559

Accessibility & contrast

On white

3.16
#9B9420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#9B9420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9420
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9420#FFFFFF#000000##000000
##9B94201.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A4932A
Tritanopia (blue-blind)
#A7897F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9b9420;
/* rgb */ color: rgb(155, 148, 32);
/* oklch */ color: oklch(65.3% 0.129 105.8);
Tailwind
colors: {
  custom: {
    50: '#bcb366',
    500: '#9b9420',
    950: '#000000',
  },
}
SCSS
$custom: #9b9420;
$custom-light: #bcb366;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9420",
  "rgb": {
    "r": 155,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 56.585,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65261,
    "c": 0.12918,
    "h": 105.8
  },
  "luminance": 0.28253
}

Semantic roles & 50–950 ramp

primary
#9B9420
secondary
#565CC1
accent
#49E93F
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B9420

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

Preview Lab → · Contrast checker → · Palette generator →

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