#9B985E#9B985E

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

Color values

HEX#9B985E
RGBrgb(155, 152, 94)
HSLhsl(57, 24%, 49%)
HSVhsv(57, 39%, 61%)
CMYKcmyk(0%, 1.9%, 39.4%, 39.2%)
CIE-LABlab(61.86, -7.85, 30.91)
CIE-LCHlch(61.86, 31.89, 104.25°)
OKLaboklab(66.84% -0.0213 0.0755)
OKLCHoklch(66.84% 0.078 105.8)
XYZxyz(26.7666, 30.2338, 15.0132)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B985E #5E619B
analogous
#9B7A5E #9B985E #809B5E
triadic
#9B985E #5E9B98 #985E9B
tetradic
#9B985E #5E9B7A #5E619B #9B5E80
square
#9B985E #5E9B7A #5E619B #9B5E80
split-complementary
#9B985E #5E809B #7A5E9B
monochromatic
#4F4D30 #757347 #9B985E #B4B183 #CBC9A9

Accessibility & contrast

On white

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

On black

7.05
#9B985E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B985E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B985E#FFFFFF#000000##000000
##9B985E1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1945A
Deuteranopia (green-blind)
#A39760
Tritanopia (blue-blind)
#A3918A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b985e;
/* rgb */ color: rgb(155, 152, 94);
/* oklch */ color: oklch(66.8% 0.078 105.8);
Tailwind
colors: {
  custom: {
    50: '#b9b68c',
    500: '#9b985e',
    950: '#000000',
  },
}
SCSS
$custom: #9b985e;
$custom-light: #b9b68c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b985e",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 94
  },
  "hsl": {
    "h": 57.049,
    "s": 24.498,
    "l": 48.824
  },
  "oklch": {
    "l": 0.66842,
    "c": 0.07849,
    "h": 105.8
  },
  "luminance": 0.30233
}

Semantic roles & 50–950 ramp

primary
#9B985E
secondary
#9C9DB9
accent
#6BC167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9B985E

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

Preview Lab → · Contrast checker → · Palette generator →

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