#9B975A#9B975A

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

Color values

HEX#9B975A
RGBrgb(155, 151, 90)
HSLhsl(56, 27%, 48%)
HSVhsv(56, 42%, 61%)
CMYKcmyk(0%, 2.6%, 41.9%, 39.2%)
CIE-LABlab(61.52, -7.77, 32.61)
CIE-LCHlch(61.52, 33.52, 103.40°)
OKLaboklab(66.55% -0.0214 0.0792)
OKLCHoklch(66.55% 0.082 105.1)
XYZxyz(26.4301, 29.8406, 14.0384)
Luminance0.2984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B975A #5A5E9B
analogous
#9B765A #9B975A #7E9B5A
triadic
#9B975A #5A9B97 #975A9B
tetradic
#9B975A #5A9B76 #5A5E9B #9B5A7E
square
#9B975A #5A9B76 #5A5E9B #9B5A7E
split-complementary
#9B975A #5A7E9B #765A9B
monochromatic
#4E4C2D #747144 #9B975A #B4B17E #CBC8A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B975A#FFFFFF#000000##000000
##9B975A1.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)
#A19355
Deuteranopia (green-blind)
#A2965D
Tritanopia (blue-blind)
#A49088
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b975a;
/* rgb */ color: rgb(155, 151, 90);
/* oklch */ color: oklch(66.6% 0.082 105.1);
Tailwind
colors: {
  custom: {
    50: '#bab589',
    500: '#9b975a',
    950: '#000000',
  },
}
SCSS
$custom: #9b975a;
$custom-light: #bab589;
$custom-dark: #000000;
JSON
{
  "hex": "#9b975a",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 90
  },
  "hsl": {
    "h": 56.308,
    "s": 26.531,
    "l": 48.039
  },
  "oklch": {
    "l": 0.66553,
    "c": 0.08204,
    "h": 105.1
  },
  "luminance": 0.2984
}

Semantic roles & 50–950 ramp

primary
#9B975A
secondary
#989AB8
accent
#6BC365
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9B975A

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

Preview Lab → · Contrast checker → · Palette generator →

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