#9B9965#9B9965

#9B9965 is a light, moderate yellow. Relative luminance 0.307; OKLCH L 67.2% C 0.071 H 106.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9B9965
RGBrgb(155, 153, 101)
HSLhsl(58, 21%, 50%)
HSVhsv(58, 35%, 61%)
CMYKcmyk(0%, 1.3%, 34.8%, 39.2%)
CIE-LABlab(62.25, -7.54, 27.64)
CIE-LCHlch(62.25, 28.65, 105.26°)
OKLaboklab(67.19% -0.02 0.0683)
OKLCHoklch(67.19% 0.071 106.3)
XYZxyz(27.2580, 30.6912, 16.7975)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9965 #65679B
analogous
#9B7E65 #9B9965 #829B65
triadic
#9B9965 #659B99 #99659B
tetradic
#9B9965 #659B7E #65679B #9B6582
square
#9B9965 #659B7E #65679B #9B6582
split-complementary
#9B9965 #65829B #7E659B
monochromatic
#515035 #76754D #9B9965 #B3B28A #CBCAAF

Accessibility & contrast

On white

2.94
#9B9965 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#9B9965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9965
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9965#FFFFFF#000000##000000
##9B99651.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19561
Deuteranopia (green-blind)
#A39867
Tritanopia (blue-blind)
#A3938C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9b9965;
/* rgb */ color: rgb(155, 153, 101);
/* oklch */ color: oklch(67.2% 0.071 106.3);
Tailwind
colors: {
  custom: {
    50: '#b9b791',
    500: '#9b9965',
    950: '#000000',
  },
}
SCSS
$custom: #9b9965;
$custom-light: #b9b791;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9965",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 101
  },
  "hsl": {
    "h": 57.778,
    "s": 21.26,
    "l": 50.196
  },
  "oklch": {
    "l": 0.67189,
    "c": 0.07117,
    "h": 106.3
  },
  "luminance": 0.30691
}

Semantic roles & 50–950 ramp

primary
#9B9965
secondary
#A2A3BA
accent
#6DBE6A
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110D
muted
#80807D

Preview Lab

Preview with #9B9965

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

Preview Lab → · Contrast checker → · Palette generator →

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