#9B995B#9B995B

#9B995B is a light, moderate yellow. Relative luminance 0.305; OKLCH L 67.0% C 0.083 H 106.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9B995B
RGBrgb(155, 153, 91)
HSLhsl(58, 26%, 48%)
HSVhsv(58, 41%, 61%)
CMYKcmyk(0%, 1.3%, 41.3%, 39.2%)
CIE-LABlab(62.09, -8.73, 32.80)
CIE-LCHlch(62.09, 33.95, 104.90°)
OKLaboklab(67.01% -0.0241 0.0797)
OKLCHoklch(67.01% 0.083 106.8)
XYZxyz(26.7976, 30.5070, 14.3723)
Luminance0.3051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B995B #5B5D9B
analogous
#9B795B #9B995B #7D9B5B
triadic
#9B995B #5B9B99 #995B9B
tetradic
#9B995B #5B9B79 #5B5D9B #9B5B7D
square
#9B995B #5B9B79 #5B5D9B #9B5B7D
split-complementary
#9B995B #5B7D9B #795B9B
monochromatic
#4E4D2E #747344 #9B995B #B4B27F #CBC9A6

Accessibility & contrast

On white

2.96
#9B995B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#9B995B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B995B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B995B#FFFFFF#000000##000000
##9B995B1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39556
Deuteranopia (green-blind)
#A4975E
Tritanopia (blue-blind)
#A3928A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9b995b;
/* rgb */ color: rgb(155, 153, 91);
/* oklch */ color: oklch(67.0% 0.083 106.8);
Tailwind
colors: {
  custom: {
    50: '#b9b68a',
    500: '#9b995b',
    950: '#000000',
  },
}
SCSS
$custom: #9b995b;
$custom-light: #b9b68a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b995b",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 91
  },
  "hsl": {
    "h": 58.125,
    "s": 26.016,
    "l": 48.235
  },
  "oklch": {
    "l": 0.67013,
    "c": 0.08325,
    "h": 106.8
  },
  "luminance": 0.30506
}

Semantic roles & 50–950 ramp

primary
#9B995B
secondary
#999AB9
accent
#68C265
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9B995B

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

Preview Lab → · Contrast checker → · Palette generator →

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