#9B892D#9B892D

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

Color values

HEX#9B892D
RGBrgb(155, 137, 45)
HSLhsl(50, 55%, 39%)
HSVhsv(50, 71%, 61%)
CMYKcmyk(0%, 11.6%, 71%, 39.2%)
CIE-LABlab(57.12, -3.89, 49.51)
CIE-LCHlch(57.12, 49.66, 94.50°)
OKLaboklab(62.91% -0.0154 0.1106)
OKLCHoklch(62.91% 0.112 97.9)
XYZxyz(22.9380, 25.0505, 6.1091)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B892D #2D3F9B
analogous
#9B522D #9B892D #769B2D
triadic
#9B892D #2D9B89 #892D9B
tetradic
#9B892D #2D9B52 #2D3F9B #9B2D76
square
#9B892D #2D9B52 #2D3F9B #9B2D76
split-complementary
#9B892D #2D769B #522D9B
monochromatic
#3C3511 #6C5F1F #9B892D #C7B13E #D5C46E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B892D#FFFFFF#000000##000000
##9B892D1.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)
#978620
Deuteranopia (green-blind)
#9B8C32
Tritanopia (blue-blind)
#A77F76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b892d;
/* rgb */ color: rgb(155, 137, 45);
/* oklch */ color: oklch(62.9% 0.112 97.9);
Tailwind
colors: {
  custom: {
    50: '#bcab6c',
    500: '#9b892d',
    950: '#000000',
  },
}
SCSS
$custom: #9b892d;
$custom-light: #bcab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b892d",
  "rgb": {
    "r": 155,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 50.182,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62908,
    "c": 0.11167,
    "h": 97.9
  },
  "luminance": 0.25049
}

Semantic roles & 50–950 ramp

primary
#9B892D
secondary
#6876BC
accent
#62DE49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B892D

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

Preview Lab → · Contrast checker → · Palette generator →

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