#9B975B#9B975B

#9B975B is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.6% C 0.081 H 105.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9B975B
RGBrgb(155, 151, 91)
HSLhsl(56, 26%, 48%)
HSVhsv(56, 41%, 61%)
CMYKcmyk(0%, 2.6%, 41.3%, 39.2%)
CIE-LABlab(61.53, -7.66, 32.10)
CIE-LCHlch(61.53, 33.00, 103.41°)
OKLaboklab(66.57% -0.021 0.0781)
OKLCHoklch(66.57% 0.081 105.1)
XYZxyz(26.4730, 29.8578, 14.2641)
Luminance0.2986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B975B #5B5F9B
analogous
#9B775B #9B975B #7F9B5B
triadic
#9B975B #5B9B97 #975B9B
tetradic
#9B975B #5B9B77 #5B5F9B #9B5B7F
square
#9B975B #5B9B77 #5B5F9B #9B5B7F
split-complementary
#9B975B #5B7F9B #775B9B
monochromatic
#4E4C2E #747144 #9B975B #B4B17F #CBC8A6

Accessibility & contrast

On white

3.01
#9B975B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#9B975B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B975B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B975B#FFFFFF#000000##000000
##9B975B1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b975b;
/* rgb */ color: rgb(155, 151, 91);
/* oklch */ color: oklch(66.6% 0.081 105.1);
Tailwind
colors: {
  custom: {
    50: '#b9b58a',
    500: '#9b975b',
    950: '#000000',
  },
}
SCSS
$custom: #9b975b;
$custom-light: #b9b58a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b975b",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 91
  },
  "hsl": {
    "h": 56.25,
    "s": 26.016,
    "l": 48.235
  },
  "oklch": {
    "l": 0.6657,
    "c": 0.08086,
    "h": 105.1
  },
  "luminance": 0.29857
}

Semantic roles & 50–950 ramp

primary
#9B975B
secondary
#999BB9
accent
#6BC265
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9B975B

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

Preview Lab → · Contrast checker → · Palette generator →

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