#9B7828#9B7828

#9B7828 is a mid, moderate orange. Relative luminance 0.206; OKLCH L 59.2% C 0.105 H 84.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9B7828
RGBrgb(155, 120, 40)
HSLhsl(42, 59%, 38%)
HSVhsv(42, 74%, 61%)
CMYKcmyk(0%, 22.6%, 74.2%, 39.2%)
CIE-LABlab(52.46, 5.34, 46.95)
CIE-LCHlch(52.46, 47.25, 83.51°)
OKLaboklab(59.22% 0.0105 0.1042)
OKLCHoklch(59.22% 0.105 84.3)
XYZxyz(20.6183, 20.5561, 4.8888)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7828 #284B9B
analogous
#9B3E28 #9B7828 #849B28
triadic
#9B7828 #289B78 #78289B
tetradic
#9B7828 #289B3E #284B9B #9B2884
square
#9B7828 #289B3E #284B9B #9B2884
split-complementary
#9B7828 #28849B #3E289B
monochromatic
#3A2D0F #6A521B #9B7828 #CB9D35 #D7B566

Accessibility & contrast

On white

4.11
#9B7828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9B7828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7828
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7828#FFFFFF#000000##000000
##9B78281.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781D
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#A86D68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9b7828;
/* rgb */ color: rgb(155, 120, 40);
/* oklch */ color: oklch(59.2% 0.105 84.3);
Tailwind
colors: {
  custom: {
    50: '#bc9e67',
    500: '#9b7828',
    950: '#000000',
  },
}
SCSS
$custom: #9b7828;
$custom-light: #bc9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7828",
  "rgb": {
    "r": 155,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 41.739,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59216,
    "c": 0.10472,
    "h": 84.3
  },
  "luminance": 0.20555
}

Semantic roles & 50–950 ramp

primary
#9B7828
secondary
#617DBD
accent
#75E246
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9B7828

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

Preview Lab → · Contrast checker → · Palette generator →

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