#9B985F#9B985F

#9B985F is a light, moderate yellow. Relative luminance 0.303; OKLCH L 66.9% C 0.077 H 105.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9B985F
RGBrgb(155, 152, 95)
HSLhsl(57, 24%, 49%)
HSVhsv(57, 39%, 61%)
CMYKcmyk(0%, 1.9%, 38.7%, 39.2%)
CIE-LABlab(61.87, -7.73, 30.39)
CIE-LCHlch(61.87, 31.36, 104.27°)
OKLaboklab(66.86% -0.0209 0.0744)
OKLCHoklch(66.86% 0.077 105.7)
XYZxyz(26.8117, 30.2519, 15.2511)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B985F #5F629B
analogous
#9B7A5F #9B985F #809B5F
triadic
#9B985F #5F9B98 #985F9B
tetradic
#9B985F #5F9B7A #5F629B #9B5F80
square
#9B985F #5F9B7A #5F629B #9B5F80
split-complementary
#9B985F #5F809B #7A5F9B
monochromatic
#4F4E30 #757348 #9B985F #B3B184 #CBC9AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B985F#FFFFFF#000000##000000
##9B985F1.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)
#A1945B
Deuteranopia (green-blind)
#A39761
Tritanopia (blue-blind)
#A3918A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b985f;
/* rgb */ color: rgb(155, 152, 95);
/* oklch */ color: oklch(66.9% 0.077 105.7);
Tailwind
colors: {
  custom: {
    50: '#b9b68d',
    500: '#9b985f',
    950: '#000000',
  },
}
SCSS
$custom: #9b985f;
$custom-light: #b9b68d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b985f",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 95
  },
  "hsl": {
    "h": 57,
    "s": 24,
    "l": 49.02
  },
  "oklch": {
    "l": 0.6686,
    "c": 0.07729,
    "h": 105.7
  },
  "luminance": 0.30251
}

Semantic roles & 50–950 ramp

primary
#9B985F
secondary
#9D9EB9
accent
#6CC067
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9B985F

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

Preview Lab → · Contrast checker → · Palette generator →

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