#9B9535#9B9535

#9B9535 is a light, moderate yellow. Relative luminance 0.287; OKLCH L 65.6% C 0.117 H 105.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9B9535
RGBrgb(155, 149, 53)
HSLhsl(56, 49%, 41%)
HSVhsv(56, 66%, 61%)
CMYKcmyk(0%, 3.9%, 65.8%, 39.2%)
CIE-LABlab(60.53, -9.92, 49.61)
CIE-LCHlch(60.53, 50.60, 101.31°)
OKLaboklab(65.64% -0.0316 0.1122)
OKLCHoklch(65.64% 0.117 105.7)
XYZxyz(24.9085, 28.7214, 7.5992)
Luminance0.2872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9535 #353B9B
analogous
#9B6235 #9B9535 #6E9B35
triadic
#9B9535 #359B95 #95359B
tetradic
#9B9535 #359B62 #353B9B #9B356E
square
#9B9535 #359B62 #353B9B #9B356E
split-complementary
#9B9535 #356E9B #62359B
monochromatic
#403D16 #6D6925 #9B9535 #C2BB4C #D1CC79

Accessibility & contrast

On white

3.11
#9B9535 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#9B9535 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9535
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9535#FFFFFF#000000##000000
##9B95351.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29029
Deuteranopia (green-blind)
#A4943B
Tritanopia (blue-blind)
#A68B81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9535;
/* rgb */ color: rgb(155, 149, 53);
/* oklch */ color: oklch(65.6% 0.117 105.7);
Tailwind
colors: {
  custom: {
    50: '#bbb371',
    500: '#9b9535',
    950: '#000000',
  },
}
SCSS
$custom: #9b9535;
$custom-light: #bbb371;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9535",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 53
  },
  "hsl": {
    "h": 56.471,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65637,
    "c": 0.11656,
    "h": 105.7
  },
  "luminance": 0.2872
}

Semantic roles & 50–950 ramp

primary
#9B9535
secondary
#7276BA
accent
#57D94F
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9B9535

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

Preview Lab → · Contrast checker → · Palette generator →

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