#9B9855#9B9855

#9B9855 is a light, moderate yellow. Relative luminance 0.301; OKLCH L 66.7% C 0.089 H 106.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9B9855
RGBrgb(155, 152, 85)
HSLhsl(57, 29%, 47%)
HSVhsv(57, 45%, 61%)
CMYKcmyk(0%, 1.9%, 45.2%, 39.2%)
CIE-LABlab(61.72, -8.85, 35.50)
CIE-LCHlch(61.72, 36.59, 103.99°)
OKLaboklab(66.7% -0.025 0.0854)
OKLCHoklch(66.7% 0.089 106.3)
XYZxyz(26.3860, 30.0816, 13.0089)
Luminance0.3008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9855 #55589B
analogous
#9B7555 #9B9855 #7B9B55
triadic
#9B9855 #559B98 #98559B
tetradic
#9B9855 #559B75 #55589B #9B557B
square
#9B9855 #559B75 #55589B #9B557B
split-complementary
#9B9855 #557B9B #75559B
monochromatic
#4C4A2A #73713F #9B9855 #B5B278 #CBC9A0

Accessibility & contrast

On white

2.99
#9B9855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#9B9855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9855
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9855#FFFFFF#000000##000000
##9B98551.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2934F
Deuteranopia (green-blind)
#A49758
Tritanopia (blue-blind)
#A49088
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b9855;
/* rgb */ color: rgb(155, 152, 85);
/* oklch */ color: oklch(66.7% 0.089 106.3);
Tailwind
colors: {
  custom: {
    50: '#bab686',
    500: '#9b9855',
    950: '#000000',
  },
}
SCSS
$custom: #9b9855;
$custom-light: #bab686;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9855",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 85
  },
  "hsl": {
    "h": 57.429,
    "s": 29.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.66696,
    "c": 0.08894,
    "h": 106.3
  },
  "luminance": 0.30081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B9855

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

Preview Lab → · Contrast checker → · Palette generator →

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