#9B9928#9B9928

#9B9928 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.4% C 0.130 H 108.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9B9928
RGBrgb(155, 153, 40)
HSLhsl(59, 59%, 38%)
HSVhsv(59, 74%, 61%)
CMYKcmyk(0%, 1.3%, 74.2%, 39.2%)
CIE-LABlab(61.57, -12.76, 55.79)
CIE-LCHlch(61.57, 57.23, 102.88°)
OKLaboklab(66.44% -0.041 0.123)
OKLCHoklch(66.44% 0.13 108.4)
XYZxyz(25.2928, 29.9050, 6.4470)
Luminance0.2990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9928 #282A9B
analogous
#9B6028 #9B9928 #639B28
triadic
#9B9928 #289B99 #99289B
tetradic
#9B9928 #289B60 #282A9B #9B2863
square
#9B9928 #289B60 #282A9B #9B2863
split-complementary
#9B9928 #28639B #60289B
monochromatic
#3A390F #6A691B #9B9928 #CBC835 #D7D666

Accessibility & contrast

On white

3.01
#9B9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#9B9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9928
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9928#FFFFFF#000000##000000
##9B99281.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69311
Deuteranopia (green-blind)
#A89631
Tritanopia (blue-blind)
#A68F83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b9928;
/* rgb */ color: rgb(155, 153, 40);
/* oklch */ color: oklch(66.4% 0.130 108.4);
Tailwind
colors: {
  custom: {
    50: '#bcb66b',
    500: '#9b9928',
    950: '#000000',
  },
}
SCSS
$custom: #9b9928;
$custom-light: #bcb66b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9928",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 58.957,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66435,
    "c": 0.1296,
    "h": 108.4
  },
  "luminance": 0.29904
}

Semantic roles & 50–950 ramp

primary
#9B9928
secondary
#6163BD
accent
#48E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9928

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

Preview Lab → · Contrast checker → · Palette generator →

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