#9B9934#9B9934

#9B9934 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.5% C 0.121 H 108.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9B9934
RGBrgb(155, 153, 52)
HSLhsl(59, 50%, 41%)
HSVhsv(59, 66%, 61%)
CMYKcmyk(0%, 1.3%, 66.5%, 39.2%)
CIE-LABlab(61.65, -12.11, 51.20)
CIE-LCHlch(61.65, 52.61, 103.31°)
OKLaboklab(66.53% -0.0379 0.1154)
OKLCHoklch(66.53% 0.121 108.2)
XYZxyz(25.5295, 29.9997, 7.6939)
Luminance0.3000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9934 #34369B
analogous
#9B6534 #9B9934 #699B34
triadic
#9B9934 #349B99 #99349B
tetradic
#9B9934 #349B65 #34369B #9B3469
square
#9B9934 #349B65 #34369B #9B3469
split-complementary
#9B9934 #34699B #65349B
monochromatic
#3F3F15 #6D6C25 #9B9934 #C2C04A #D2D078

Accessibility & contrast

On white

3.00
#9B9934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#9B9934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9934
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9934#FFFFFF#000000##000000
##9B99341.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59326
Deuteranopia (green-blind)
#A7973B
Tritanopia (blue-blind)
#A68F84
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b9934;
/* rgb */ color: rgb(155, 153, 52);
/* oklch */ color: oklch(66.5% 0.121 108.2);
Tailwind
colors: {
  custom: {
    50: '#bbb671',
    500: '#9b9934',
    950: '#000000',
  },
}
SCSS
$custom: #9b9934;
$custom-light: #bbb671;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9934",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 58.835,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66526,
    "c": 0.12145,
    "h": 108.2
  },
  "luminance": 0.29999
}

Semantic roles & 50–950 ramp

primary
#9B9934
secondary
#7172BA
accent
#51D94F
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9B9934

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

Preview Lab → · Contrast checker → · Palette generator →

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