#9B985D#9B985D

#9B985D is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.8% C 0.080 H 105.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9B985D
RGBrgb(155, 152, 93)
HSLhsl(57, 25%, 49%)
HSVhsv(57, 40%, 61%)
CMYKcmyk(0%, 1.9%, 40%, 39.2%)
CIE-LABlab(61.84, -7.97, 31.42)
CIE-LCHlch(61.84, 32.42, 104.22°)
OKLaboklab(66.83% -0.0217 0.0767)
OKLCHoklch(66.83% 0.08 105.8)
XYZxyz(26.7220, 30.2160, 14.7784)
Luminance0.3021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B985D #5D609B
analogous
#9B795D #9B985D #7F9B5D
triadic
#9B985D #5D9B98 #985D9B
tetradic
#9B985D #5D9B79 #5D609B #9B5D7F
square
#9B985D #5D9B79 #5D609B #9B5D7F
split-complementary
#9B985D #5D7F9B #795D9B
monochromatic
#4E4D2F #757246 #9B985D #B4B181 #CBC9A8

Accessibility & contrast

On white

2.98
#9B985D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#9B985D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B985D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B985D#FFFFFF#000000##000000
##9B985D1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19459
Deuteranopia (green-blind)
#A3975F
Tritanopia (blue-blind)
#A39189
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b985d;
/* rgb */ color: rgb(155, 152, 93);
/* oklch */ color: oklch(66.8% 0.080 105.8);
Tailwind
colors: {
  custom: {
    50: '#b9b68c',
    500: '#9b985d',
    950: '#000000',
  },
}
SCSS
$custom: #9b985d;
$custom-light: #b9b68c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b985d",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 93
  },
  "hsl": {
    "h": 57.097,
    "s": 25,
    "l": 48.627
  },
  "oklch": {
    "l": 0.66825,
    "c": 0.07969,
    "h": 105.8
  },
  "luminance": 0.30215
}

Semantic roles & 50–950 ramp

primary
#9B985D
secondary
#9B9CB9
accent
#6BC166
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9B985D

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

Preview Lab → · Contrast checker → · Palette generator →

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