#9B995C#9B995C

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

Color values

HEX#9B995C
RGBrgb(155, 153, 92)
HSLhsl(58, 26%, 48%)
HSVhsv(58, 41%, 61%)
CMYKcmyk(0%, 1.3%, 40.6%, 39.2%)
CIE-LABlab(62.10, -8.62, 32.29)
CIE-LCHlch(62.10, 33.42, 104.94°)
OKLaboklab(67.03% -0.0237 0.0786)
OKLCHoklch(67.03% 0.082 106.8)
XYZxyz(26.8410, 30.5243, 14.6010)
Luminance0.3052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B995C #5C5E9B
analogous
#9B795C #9B995C #7D9B5C
triadic
#9B995C #5C9B99 #995C9B
tetradic
#9B995C #5C9B79 #5C5E9B #9B5C7D
square
#9B995C #5C9B79 #5C5E9B #9B5C7D
split-complementary
#9B995C #5C7D9B #795C9B
monochromatic
#4E4D2E #757345 #9B995C #B4B280 #CBC9A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B995C#FFFFFF#000000##000000
##9B995C1.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)
#A29557
Deuteranopia (green-blind)
#A4975F
Tritanopia (blue-blind)
#A3928A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9b995c;
/* rgb */ color: rgb(155, 153, 92);
/* oklch */ color: oklch(67.0% 0.082 106.8);
Tailwind
colors: {
  custom: {
    50: '#b9b68b',
    500: '#9b995c',
    950: '#000000',
  },
}
SCSS
$custom: #9b995c;
$custom-light: #b9b68b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b995c",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 92
  },
  "hsl": {
    "h": 58.095,
    "s": 25.506,
    "l": 48.431
  },
  "oklch": {
    "l": 0.6703,
    "c": 0.08208,
    "h": 106.8
  },
  "luminance": 0.30524
}

Semantic roles & 50–950 ramp

primary
#9B995C
secondary
#9A9BB9
accent
#69C266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9B995C

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

Preview Lab → · Contrast checker → · Palette generator →

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