#9B9955#9B9955

#9B9955 is a light, moderate yellow. Relative luminance 0.304; OKLCH L 66.9% C 0.090 H 107.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9B9955
RGBrgb(155, 153, 85)
HSLhsl(58, 29%, 47%)
HSVhsv(58, 45%, 61%)
CMYKcmyk(0%, 1.3%, 45.2%, 39.2%)
CIE-LABlab(62.00, -9.38, 35.85)
CIE-LCHlch(62.00, 37.06, 104.67°)
OKLaboklab(66.92% -0.0265 0.0861)
OKLCHoklch(66.92% 0.09 107.1)
XYZxyz(26.5490, 30.4075, 13.0633)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9955 #55579B
analogous
#9B7655 #9B9955 #7A9B55
triadic
#9B9955 #559B99 #99559B
tetradic
#9B9955 #559B76 #55579B #9B557A
square
#9B9955 #559B76 #55579B #9B557A
split-complementary
#9B9955 #557A9B #76559B
monochromatic
#4C4B2A #73723F #9B9955 #B5B378 #CBC9A0

Accessibility & contrast

On white

2.97
#9B9955 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#9B9955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9955
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9955#FFFFFF#000000##000000
##9B99551.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3944F
Deuteranopia (green-blind)
#A59758
Tritanopia (blue-blind)
#A49189
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9b9955;
/* rgb */ color: rgb(155, 153, 85);
/* oklch */ color: oklch(66.9% 0.090 107.1);
Tailwind
colors: {
  custom: {
    50: '#bab686',
    500: '#9b9955',
    950: '#000000',
  },
}
SCSS
$custom: #9b9955;
$custom-light: #bab686;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9955",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 85
  },
  "hsl": {
    "h": 58.286,
    "s": 29.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.66918,
    "c": 0.09012,
    "h": 107.1
  },
  "luminance": 0.30407
}

Semantic roles & 50–950 ramp

primary
#9B9955
secondary
#9495B8
accent
#65C562
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12110B
muted
#81807C

Preview Lab

Preview with #9B9955

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

Preview Lab → · Contrast checker → · Palette generator →

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