#9B893B#9B893B

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

Color values

HEX#9B893B
RGBrgb(155, 137, 59)
HSLhsl(49, 45%, 42%)
HSVhsv(49, 62%, 61%)
CMYKcmyk(0%, 11.6%, 61.9%, 39.2%)
CIE-LABlab(57.25, -3.00, 43.33)
CIE-LCHlch(57.25, 43.43, 93.96°)
OKLaboklab(63.04% -0.0111 0.0998)
OKLCHoklch(63.04% 0.1 96.4)
XYZxyz(23.2536, 25.1767, 7.7716)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B893B #3B4D9B
analogous
#9B593B #9B893B #7D9B3B
triadic
#9B893B #3B9B89 #893B9B
tetradic
#9B893B #3B9B59 #3B4D9B #9B3B7D
square
#9B893B #3B9B59 #3B4D9B #9B3B7D
split-complementary
#9B893B #3B7D9B #593B9B
monochromatic
#423B19 #6F622A #9B893B #BEAB55 #CFC181

Accessibility & contrast

On white

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

On black

6.04
#9B893B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B893B
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B893B#FFFFFF#000000##000000
##9B893B1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b893b;
/* rgb */ color: rgb(155, 137, 59);
/* oklch */ color: oklch(63.0% 0.100 96.4);
Tailwind
colors: {
  custom: {
    50: '#bbab74',
    500: '#9b893b',
    950: '#000000',
  },
}
SCSS
$custom: #9b893b;
$custom-light: #bbab74;
$custom-dark: #000000;
JSON
{
  "hex": "#9b893b",
  "rgb": {
    "r": 155,
    "g": 137,
    "b": 59
  },
  "hsl": {
    "h": 48.75,
    "s": 44.86,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63045,
    "c": 0.10037,
    "h": 96.4
  },
  "luminance": 0.25176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B893B

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

Preview Lab → · Contrast checker → · Palette generator →

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