#9B892F#9B892F

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

Color values

HEX#9B892F
RGBrgb(155, 137, 47)
HSLhsl(50, 53%, 40%)
HSVhsv(50, 70%, 61%)
CMYKcmyk(0%, 11.6%, 69.7%, 39.2%)
CIE-LABlab(57.14, -3.78, 48.68)
CIE-LCHlch(57.14, 48.83, 94.44°)
OKLaboklab(62.93% -0.0149 0.1092)
OKLCHoklch(62.93% 0.11 97.7)
XYZxyz(22.9774, 25.0662, 6.3167)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B892F #2F419B
analogous
#9B532F #9B892F #779B2F
triadic
#9B892F #2F9B89 #892F9B
tetradic
#9B892F #2F9B53 #2F419B #9B2F77
square
#9B892F #2F9B53 #2F419B #9B2F77
split-complementary
#9B892F #2F779B #532F9B
monochromatic
#3D3613 #6C5F21 #9B892F #C6B042 #D4C371

Accessibility & contrast

On white

3.49
#9B892F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B892F#FFFFFF#000000##000000
##9B892F1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978623
Deuteranopia (green-blind)
#9B8C34
Tritanopia (blue-blind)
#A77F77
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b892f;
/* rgb */ color: rgb(155, 137, 47);
/* oklch */ color: oklch(62.9% 0.110 97.7);
Tailwind
colors: {
  custom: {
    50: '#bcab6d',
    500: '#9b892f',
    950: '#000000',
  },
}
SCSS
$custom: #9b892f;
$custom-light: #bcab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b892f",
  "rgb": {
    "r": 155,
    "g": 137,
    "b": 47
  },
  "hsl": {
    "h": 50,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62925,
    "c": 0.11021,
    "h": 97.7
  },
  "luminance": 0.25065
}

Semantic roles & 50–950 ramp

primary
#9B892F
secondary
#6A78BB
accent
#63DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B892F

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

Preview Lab → · Contrast checker → · Palette generator →

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