#9B9926#9B9926

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

Color values

HEX#9B9926
RGBrgb(155, 153, 38)
HSLhsl(59, 61%, 38%)
HSVhsv(59, 75%, 61%)
CMYKcmyk(0%, 1.3%, 75.5%, 39.2%)
CIE-LABlab(61.56, -12.85, 56.48)
CIE-LCHlch(61.56, 57.93, 102.82°)
OKLaboklab(66.42% -0.0414 0.124)
OKLCHoklch(66.42% 0.131 108.5)
XYZxyz(25.2596, 29.8918, 6.2725)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9926 #26289B
analogous
#9B5E26 #9B9926 #639B26
triadic
#9B9926 #269B99 #99269B
tetradic
#9B9926 #269B5E #26289B #9B2663
square
#9B9926 #269B5E #26289B #9B2663
split-complementary
#9B9926 #26639B #5E269B
monochromatic
#39380E #6A681A #9B9926 #CCCA32 #D9D763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9926#FFFFFF#000000##000000
##9B99261.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)
#A6930C
Deuteranopia (green-blind)
#A8962F
Tritanopia (blue-blind)
#A68F83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b9926;
/* rgb */ color: rgb(155, 153, 38);
/* oklch */ color: oklch(66.4% 0.131 108.5);
Tailwind
colors: {
  custom: {
    50: '#bcb66a',
    500: '#9b9926',
    950: '#000000',
  },
}
SCSS
$custom: #9b9926;
$custom-light: #bcb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9926",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 58.974,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66422,
    "c": 0.13076,
    "h": 108.5
  },
  "luminance": 0.29891
}

Semantic roles & 50–950 ramp

primary
#9B9926
secondary
#5F60BE
accent
#47E444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9926

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

Preview Lab → · Contrast checker → · Palette generator →

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