#9B882A#9B882A

#9B882A is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.7% C 0.113 H 97.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9B882A
RGBrgb(155, 136, 42)
HSLhsl(50, 57%, 39%)
HSVhsv(50, 73%, 61%)
CMYKcmyk(0%, 12.3%, 72.9%, 39.2%)
CIE-LABlab(56.83, -3.50, 50.45)
CIE-LCHlch(56.83, 50.57, 93.97°)
OKLaboklab(62.67% -0.0146 0.112)
OKLCHoklch(62.67% 0.113 97.5)
XYZxyz(22.7408, 24.7452, 5.7685)
Luminance0.2474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B882A #2A3D9B
analogous
#9B502A #9B882A #759B2A
triadic
#9B882A #2A9B88 #882A9B
tetradic
#9B882A #2A9B50 #2A3D9B #9B2A75
square
#9B882A #2A9B50 #2A3D9B #9B2A75
split-complementary
#9B882A #2A759B #502A9B
monochromatic
#3B3310 #6B5E1D #9B882A #C9B139 #D6C469

Accessibility & contrast

On white

3.53
#9B882A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9B882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B882A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B882A#FFFFFF#000000##000000
##9B882A1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851B
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#A77E75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9b882a;
/* rgb */ color: rgb(155, 136, 42);
/* oklch */ color: oklch(62.7% 0.113 97.5);
Tailwind
colors: {
  custom: {
    50: '#bcaa6a',
    500: '#9b882a',
    950: '#000000',
  },
}
SCSS
$custom: #9b882a;
$custom-light: #bcaa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b882a",
  "rgb": {
    "r": 155,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 49.912,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62665,
    "c": 0.11296,
    "h": 97.5
  },
  "luminance": 0.24744
}

Semantic roles & 50–950 ramp

primary
#9B882A
secondary
#6473BD
accent
#61E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B882A

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

Preview Lab → · Contrast checker → · Palette generator →

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