#9B975E#9B975E

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

Color values

HEX#9B975E
RGBrgb(155, 151, 94)
HSLhsl(56, 24%, 49%)
HSVhsv(56, 39%, 61%)
CMYKcmyk(0%, 2.6%, 39.4%, 39.2%)
CIE-LABlab(61.58, -7.31, 30.55)
CIE-LCHlch(61.58, 31.42, 103.46°)
OKLaboklab(66.62% -0.0198 0.0747)
OKLCHoklch(66.62% 0.077 104.8)
XYZxyz(26.6050, 29.9106, 14.9593)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B975E #5E629B
analogous
#9B795E #9B975E #819B5E
triadic
#9B975E #5E9B97 #975E9B
tetradic
#9B975E #5E9B79 #5E629B #9B5E81
square
#9B975E #5E9B79 #5E629B #9B5E81
split-complementary
#9B975E #5E819B #795E9B
monochromatic
#4F4D30 #757247 #9B975E #B4B083 #CBC8A9

Accessibility & contrast

On white

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

On black

6.98
#9B975E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B975E
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B975E#FFFFFF#000000##000000
##9B975E1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0935A
Deuteranopia (green-blind)
#A29660
Tritanopia (blue-blind)
#A39089
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b975e;
/* rgb */ color: rgb(155, 151, 94);
/* oklch */ color: oklch(66.6% 0.077 104.8);
Tailwind
colors: {
  custom: {
    50: '#b9b58c',
    500: '#9b975e',
    950: '#000000',
  },
}
SCSS
$custom: #9b975e;
$custom-light: #b9b58c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b975e",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 94
  },
  "hsl": {
    "h": 56.066,
    "s": 24.498,
    "l": 48.824
  },
  "oklch": {
    "l": 0.66621,
    "c": 0.0773,
    "h": 104.8
  },
  "luminance": 0.2991
}

Semantic roles & 50–950 ramp

primary
#9B975E
secondary
#9C9EB9
accent
#6DC167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9B975E

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

Preview Lab → · Contrast checker → · Palette generator →

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