#9B985B#9B985B

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

Color values

HEX#9B985B
RGBrgb(155, 152, 91)
HSLhsl(57, 26%, 48%)
HSVhsv(57, 41%, 61%)
CMYKcmyk(0%, 1.9%, 41.3%, 39.2%)
CIE-LABlab(61.81, -8.19, 32.45)
CIE-LCHlch(61.81, 33.47, 104.17°)
OKLaboklab(66.79% -0.0226 0.0789)
OKLCHoklch(66.79% 0.082 106)
XYZxyz(26.6346, 30.1810, 14.3180)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B985B #5B5E9B
analogous
#9B785B #9B985B #7E9B5B
triadic
#9B985B #5B9B98 #985B9B
tetradic
#9B985B #5B9B78 #5B5E9B #9B5B7E
square
#9B985B #5B9B78 #5B5E9B #9B5B7E
split-complementary
#9B985B #5B7E9B #785B9B
monochromatic
#4E4C2E #747244 #9B985B #B4B27F #CBC9A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B985B#FFFFFF#000000##000000
##9B985B1.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)
#A29456
Deuteranopia (green-blind)
#A3975E
Tritanopia (blue-blind)
#A39189
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b985b;
/* rgb */ color: rgb(155, 152, 91);
/* oklch */ color: oklch(66.8% 0.082 106.0);
Tailwind
colors: {
  custom: {
    50: '#b9b68a',
    500: '#9b985b',
    950: '#000000',
  },
}
SCSS
$custom: #9b985b;
$custom-light: #b9b68a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b985b",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 91
  },
  "hsl": {
    "h": 57.188,
    "s": 26.016,
    "l": 48.235
  },
  "oklch": {
    "l": 0.66791,
    "c": 0.08205,
    "h": 106
  },
  "luminance": 0.3018
}

Semantic roles & 50–950 ramp

primary
#9B985B
secondary
#999BB9
accent
#6AC265
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9B985B

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

Preview Lab → · Contrast checker → · Palette generator →

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