#9B9120#9B9120

#9B9120 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.6% C 0.126 H 104.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9B9120
RGBrgb(155, 145, 32)
HSLhsl(55, 66%, 37%)
HSVhsv(55, 79%, 61%)
CMYKcmyk(0%, 6.5%, 79.4%, 39.2%)
CIE-LABlab(59.27, -8.84, 56.39)
CIE-LCHlch(59.27, 57.08, 98.91°)
OKLaboklab(64.59% -0.0307 0.1227)
OKLCHoklch(64.59% 0.126 104.1)
XYZxyz(23.9048, 27.3246, 5.3812)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9120 #202A9B
analogous
#9B5420 #9B9120 #689B20
triadic
#9B9120 #209B91 #91209B
tetradic
#9B9120 #209B54 #202A9B #9B2068
square
#9B9120 #209B54 #202A9B #9B2068
split-complementary
#9B9120 #20689B #54209B
monochromatic
#36320B #686216 #9B9120 #CEC02A #DDD259

Accessibility & contrast

On white

3.25
#9B9120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#9B9120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9120
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9120#FFFFFF#000000##000000
##9B91201.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C01
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#A7867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9b9120;
/* rgb */ color: rgb(155, 145, 32);
/* oklch */ color: oklch(64.6% 0.126 104.1);
Tailwind
colors: {
  custom: {
    50: '#bcb066',
    500: '#9b9120',
    950: '#000000',
  },
}
SCSS
$custom: #9b9120;
$custom-light: #bcb066;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9120",
  "rgb": {
    "r": 155,
    "g": 145,
    "b": 32
  },
  "hsl": {
    "h": 55.122,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64589,
    "c": 0.12646,
    "h": 104.1
  },
  "luminance": 0.27324
}

Semantic roles & 50–950 ramp

primary
#9B9120
secondary
#565FC1
accent
#4DE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B9120

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

Preview Lab → · Contrast checker → · Palette generator →

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