#9B985A#9B985A

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

Color values

HEX#9B985A
RGBrgb(155, 152, 90)
HSLhsl(57, 27%, 48%)
HSVhsv(57, 42%, 61%)
CMYKcmyk(0%, 1.9%, 41.9%, 39.2%)
CIE-LABlab(61.80, -8.31, 32.96)
CIE-LCHlch(61.80, 33.99, 104.14°)
OKLaboklab(66.77% -0.023 0.08)
OKLCHoklch(66.77% 0.083 106)
XYZxyz(26.5917, 30.1639, 14.0923)
Luminance0.3016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B985A #5A5D9B
analogous
#9B775A #9B985A #7D9B5A
triadic
#9B985A #5A9B98 #985A9B
tetradic
#9B985A #5A9B77 #5A5D9B #9B5A7D
square
#9B985A #5A9B77 #5A5D9B #9B5A7D
split-complementary
#9B985A #5A7D9B #775A9B
monochromatic
#4E4C2D #747244 #9B985A #B4B27E #CBC9A5

Accessibility & contrast

On white

2.99
#9B985A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#9B985A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B985A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B985A#FFFFFF#000000##000000
##9B985A1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29455
Deuteranopia (green-blind)
#A3975D
Tritanopia (blue-blind)
#A49189
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b985a;
/* rgb */ color: rgb(155, 152, 90);
/* oklch */ color: oklch(66.8% 0.083 106.0);
Tailwind
colors: {
  custom: {
    50: '#bab68a',
    500: '#9b985a',
    950: '#000000',
  },
}
SCSS
$custom: #9b985a;
$custom-light: #bab68a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b985a",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 90
  },
  "hsl": {
    "h": 57.231,
    "s": 26.531,
    "l": 48.039
  },
  "oklch": {
    "l": 0.66775,
    "c": 0.08322,
    "h": 106
  },
  "luminance": 0.30163
}

Semantic roles & 50–950 ramp

primary
#9B985A
secondary
#989AB8
accent
#69C365
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9B985A

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

Preview Lab → · Contrast checker → · Palette generator →

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