#9B892B#9B892B

#9B892B is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.9% C 0.113 H 98.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9B892B
RGBrgb(155, 137, 43)
HSLhsl(50, 57%, 39%)
HSVhsv(50, 72%, 61%)
CMYKcmyk(0%, 11.6%, 72.3%, 39.2%)
CIE-LABlab(57.11, -4.00, 50.32)
CIE-LCHlch(57.11, 50.48, 94.55°)
OKLaboklab(62.89% -0.0159 0.1119)
OKLCHoklch(62.89% 0.113 98.1)
XYZxyz(22.9004, 25.0354, 5.9111)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B892B #2B3D9B
analogous
#9B512B #9B892B #759B2B
triadic
#9B892B #2B9B89 #892B9B
tetradic
#9B892B #2B9B51 #2B3D9B #9B2B75
square
#9B892B #2B9B51 #2B3D9B #9B2B75
split-complementary
#9B892B #2B759B #512B9B
monochromatic
#3B3410 #6B5F1E #9B892B #C9B23B #D6C56B

Accessibility & contrast

On white

3.50
#9B892B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#9B892B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B892B
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B892B#FFFFFF#000000##000000
##9B892B1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861D
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#A77F76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b892b;
/* rgb */ color: rgb(155, 137, 43);
/* oklch */ color: oklch(62.9% 0.113 98.1);
Tailwind
colors: {
  custom: {
    50: '#bcab6b',
    500: '#9b892b',
    950: '#000000',
  },
}
SCSS
$custom: #9b892b;
$custom-light: #bcab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b892b",
  "rgb": {
    "r": 155,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 50.357,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62892,
    "c": 0.11307,
    "h": 98.1
  },
  "luminance": 0.25034
}

Semantic roles & 50–950 ramp

primary
#9B892B
secondary
#6573BC
accent
#60E048
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B892B

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

Preview Lab → · Contrast checker → · Palette generator →

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