#9B9155#9B9155

#9B9155 is a light, moderate yellow. Relative luminance 0.279; OKLCH L 65.1% C 0.081 H 100.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9B9155
RGBrgb(155, 145, 85)
HSLhsl(51, 29%, 47%)
HSVhsv(51, 45%, 61%)
CMYKcmyk(0%, 6.5%, 45.2%, 39.2%)
CIE-LABlab(59.78, -5.06, 33.08)
CIE-LCHlch(59.78, 33.47, 98.69°)
OKLaboklab(65.15% -0.0141 0.0799)
OKLCHoklch(65.15% 0.081 100)
XYZxyz(25.2833, 27.8760, 12.6414)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9155 #555F9B
analogous
#9B6E55 #9B9155 #829B55
triadic
#9B9155 #559B91 #91559B
tetradic
#9B9155 #559B6E #555F9B #9B5582
square
#9B9155 #559B6E #555F9B #9B5582
split-complementary
#9B9155 #55829B #6E559B
monochromatic
#4C472A #736C3F #9B9155 #B5AC78 #CBC5A0

Accessibility & contrast

On white

3.19
#9B9155 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#9B9155 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9155
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9155#FFFFFF#000000##000000
##9B91551.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8E50
Deuteranopia (green-blind)
#9E9257
Tritanopia (blue-blind)
#A48982
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b9155;
/* rgb */ color: rgb(155, 145, 85);
/* oklch */ color: oklch(65.1% 0.081 100.0);
Tailwind
colors: {
  custom: {
    50: '#bab186',
    500: '#9b9155',
    950: '#000000',
  },
}
SCSS
$custom: #9b9155;
$custom-light: #bab186;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9155",
  "rgb": {
    "r": 155,
    "g": 145,
    "b": 85
  },
  "hsl": {
    "h": 51.429,
    "s": 29.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.6515,
    "c": 0.08117,
    "h": 100
  },
  "luminance": 0.27875
}

Semantic roles & 50–950 ramp

primary
#9B9155
secondary
#9499B8
accent
#71C562
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9B9155

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

Preview Lab → · Contrast checker → · Palette generator →

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