#9B893A#9B893A

#9B893A is a light, moderate yellow. Relative luminance 0.252; OKLCH L 63.0% C 0.101 H 96.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9B893A
RGBrgb(155, 137, 58)
HSLhsl(49, 46%, 42%)
HSVhsv(49, 63%, 61%)
CMYKcmyk(0%, 11.6%, 62.6%, 39.2%)
CIE-LABlab(57.24, -3.07, 43.79)
CIE-LCHlch(57.24, 43.90, 94.02°)
OKLaboklab(63.03% -0.0115 0.1006)
OKLCHoklch(63.03% 0.101 96.5)
XYZxyz(23.2279, 25.1665, 7.6363)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B893A #3A4C9B
analogous
#9B593A #9B893A #7D9B3A
triadic
#9B893A #3A9B89 #893A9B
tetradic
#9B893A #3A9B59 #3A4C9B #9B3A7D
square
#9B893A #3A9B59 #3A4C9B #9B3A7D
split-complementary
#9B893A #3A7D9B #593A9B
monochromatic
#423A19 #6E6229 #9B893A #BFAB53 #CFC180

Accessibility & contrast

On white

3.48
#9B893A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#9B893A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B893A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B893A#FFFFFF#000000##000000
##9B893A1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968631
Deuteranopia (green-blind)
#9B8C3E
Tritanopia (blue-blind)
#A77F78
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b893a;
/* rgb */ color: rgb(155, 137, 58);
/* oklch */ color: oklch(63.0% 0.101 96.5);
Tailwind
colors: {
  custom: {
    50: '#bbab73',
    500: '#9b893a',
    950: '#000000',
  },
}
SCSS
$custom: #9b893a;
$custom-light: #bbab73;
$custom-dark: #000000;
JSON
{
  "hex": "#9b893a",
  "rgb": {
    "r": 155,
    "g": 137,
    "b": 58
  },
  "hsl": {
    "h": 48.866,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63033,
    "c": 0.10126,
    "h": 96.5
  },
  "luminance": 0.25165
}

Semantic roles & 50–950 ramp

primary
#9B893A
secondary
#7884B9
accent
#6BD553
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9B893A

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

Preview Lab → · Contrast checker → · Palette generator →

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