#9B9121#9B9121

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

Color values

HEX#9B9121
RGBrgb(155, 145, 33)
HSLhsl(55, 65%, 37%)
HSVhsv(55, 79%, 61%)
CMYKcmyk(0%, 6.5%, 78.7%, 39.2%)
CIE-LABlab(59.28, -8.81, 56.07)
CIE-LCHlch(59.28, 56.75, 98.93°)
OKLaboklab(64.6% -0.0305 0.1222)
OKLCHoklch(64.6% 0.126 104)
XYZxyz(23.9186, 27.3302, 5.4539)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9121 #212B9B
analogous
#9B5421 #9B9121 #689B21
triadic
#9B9121 #219B91 #91219B
tetradic
#9B9121 #219B54 #212B9B #9B2168
square
#9B9121 #219B54 #212B9B #9B2168
split-complementary
#9B9121 #21689B #54219B
monochromatic
#36330C #696216 #9B9121 #CDC02C #DCD15A

Accessibility & contrast

On white

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

On black

6.47
#9B9121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9121
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9121#FFFFFF#000000##000000
##9B91211.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9121;
/* rgb */ color: rgb(155, 145, 33);
/* oklch */ color: oklch(64.6% 0.126 104.0);
Tailwind
colors: {
  custom: {
    50: '#bcb066',
    500: '#9b9121',
    950: '#000000',
  },
}
SCSS
$custom: #9b9121;
$custom-light: #bcb066;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9121",
  "rgb": {
    "r": 155,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 55.082,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64595,
    "c": 0.12593,
    "h": 104
  },
  "luminance": 0.27329
}

Semantic roles & 50–950 ramp

primary
#9B9121
secondary
#5860C0
accent
#4EE840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B9121

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

Preview Lab → · Contrast checker → · Palette generator →

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