#9B892A#9B892A

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

Color values

HEX#9B892A
RGBrgb(155, 137, 42)
HSLhsl(50, 57%, 39%)
HSVhsv(50, 73%, 61%)
CMYKcmyk(0%, 11.6%, 72.9%, 39.2%)
CIE-LABlab(57.10, -4.05, 50.72)
CIE-LCHlch(57.10, 50.88, 94.57°)
OKLaboklab(62.88% -0.0162 0.1126)
OKLCHoklch(62.88% 0.114 98.2)
XYZxyz(22.8823, 25.0282, 5.8157)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B892A #2A3C9B
analogous
#9B502A #9B892A #749B2A
triadic
#9B892A #2A9B89 #892A9B
tetradic
#9B892A #2A9B50 #2A3C9B #9B2A74
square
#9B892A #2A9B50 #2A3C9B #9B2A74
split-complementary
#9B892A #2A749B #502A9B
monochromatic
#3B3410 #6B5E1D #9B892A #C9B239 #D6C569

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B892A#FFFFFF#000000##000000
##9B892A1.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)
#97861B
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#A77F76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b892a;
/* rgb */ color: rgb(155, 137, 42);
/* oklch */ color: oklch(62.9% 0.114 98.2);
Tailwind
colors: {
  custom: {
    50: '#bcab6a',
    500: '#9b892a',
    950: '#000000',
  },
}
SCSS
$custom: #9b892a;
$custom-light: #bcab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b892a",
  "rgb": {
    "r": 155,
    "g": 137,
    "b": 42
  },
  "hsl": {
    "h": 50.442,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62884,
    "c": 0.11375,
    "h": 98.2
  },
  "luminance": 0.25027
}

Semantic roles & 50–950 ramp

primary
#9B892A
secondary
#6472BD
accent
#60E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B892A

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

Preview Lab → · Contrast checker → · Palette generator →

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