#9B975F#9B975F

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

Color values

HEX#9B975F
RGBrgb(155, 151, 95)
HSLhsl(56, 24%, 49%)
HSVhsv(56, 39%, 61%)
CMYKcmyk(0%, 2.6%, 38.7%, 39.2%)
CIE-LABlab(61.59, -7.19, 30.04)
CIE-LCHlch(61.59, 30.89, 103.47°)
OKLaboklab(66.64% -0.0194 0.0736)
OKLCHoklch(66.64% 0.076 104.8)
XYZxyz(26.6501, 29.9286, 15.1972)
Luminance0.2993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B975F #5F639B
analogous
#9B795F #9B975F #819B5F
triadic
#9B975F #5F9B97 #975F9B
tetradic
#9B975F #5F9B79 #5F639B #9B5F81
square
#9B975F #5F9B79 #5F639B #9B5F81
split-complementary
#9B975F #5F819B #795F9B
monochromatic
#4F4D30 #757248 #9B975F #B3B084 #CBC9AA

Accessibility & contrast

On white

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

On black

6.99
#9B975F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B975F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B975F#FFFFFF#000000##000000
##9B975F1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b975f;
/* rgb */ color: rgb(155, 151, 95);
/* oklch */ color: oklch(66.6% 0.076 104.8);
Tailwind
colors: {
  custom: {
    50: '#b9b58d',
    500: '#9b975f',
    950: '#000000',
  },
}
SCSS
$custom: #9b975f;
$custom-light: #b9b58d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b975f",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 95
  },
  "hsl": {
    "h": 56,
    "s": 24,
    "l": 49.02
  },
  "oklch": {
    "l": 0.66639,
    "c": 0.07609,
    "h": 104.8
  },
  "luminance": 0.29928
}

Semantic roles & 50–950 ramp

primary
#9B975F
secondary
#9D9FB9
accent
#6DC067
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9B975F

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

Preview Lab → · Contrast checker → · Palette generator →

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