#9B894D#9B894D

#9B894D is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.3% C 0.083 H 93.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9B894D
RGBrgb(155, 137, 77)
HSLhsl(46, 34%, 45%)
HSVhsv(46, 50%, 61%)
CMYKcmyk(0%, 11.6%, 50.3%, 39.2%)
CIE-LABlab(57.46, -1.47, 34.45)
CIE-LCHlch(57.46, 34.49, 92.45°)
OKLaboklab(63.28% -0.0045 0.0824)
OKLCHoklch(63.28% 0.083 93.2)
XYZxyz(23.8036, 25.3967, 10.6680)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B894D #4D5F9B
analogous
#9B624D #9B894D #869B4D
triadic
#9B894D #4D9B89 #894D9B
tetradic
#9B894D #4D9B62 #4D5F9B #9B4D86
square
#9B894D #4D9B62 #4D5F9B #9B4D86
split-complementary
#9B894D #4D869B #624D9B
monochromatic
#494124 #726539 #9B894D #B7A66E #CBBF97

Accessibility & contrast

On white

3.45
#9B894D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9B894D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B894D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B894D#FFFFFF#000000##000000
##9B894D1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948748
Deuteranopia (green-blind)
#998C4F
Tritanopia (blue-blind)
#A6817B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9b894d;
/* rgb */ color: rgb(155, 137, 77);
/* oklch */ color: oklch(63.3% 0.083 93.2);
Tailwind
colors: {
  custom: {
    50: '#baab80',
    500: '#9b894d',
    950: '#000000',
  },
}
SCSS
$custom: #9b894d;
$custom-light: #baab80;
$custom-dark: #000000;
JSON
{
  "hex": "#9b894d",
  "rgb": {
    "r": 155,
    "g": 137,
    "b": 77
  },
  "hsl": {
    "h": 46.154,
    "s": 33.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.63281,
    "c": 0.08256,
    "h": 93.2
  },
  "luminance": 0.25396
}

Semantic roles & 50–950 ramp

primary
#9B894D
secondary
#8C96B8
accent
#77CA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9B894D

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

Preview Lab → · Contrast checker → · Palette generator →

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