#9D7828#9D7828

#9D7828 is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.4% C 0.106 H 82.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9D7828
RGBrgb(157, 120, 40)
HSLhsl(41, 59%, 39%)
HSVhsv(41, 75%, 62%)
CMYKcmyk(0%, 23.6%, 74.5%, 38.4%)
CIE-LABlab(52.68, 6.26, 47.24)
CIE-LCHlch(52.68, 47.66, 82.45°)
OKLaboklab(59.44% 0.013 0.1047)
OKLCHoklch(59.44% 0.106 82.9)
XYZxyz(21.0054, 20.7557, 4.9070)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7828 #284D9D
analogous
#9D3D28 #9D7828 #879D28
triadic
#9D7828 #289D78 #78289D
tetradic
#9D7828 #289D3D #284D9D #9D2887
square
#9D7828 #289D3D #284D9D #9D2887
split-complementary
#9D7828 #28879D #3D289D
monochromatic
#3B2D0F #6C531C #9D7828 #CC9D36 #D8B567

Accessibility & contrast

On white

4.08
#9D7828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9D7828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7828
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7828#FFFFFF#000000##000000
##9D78281.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781D
Deuteranopia (green-blind)
#90822B
Tritanopia (blue-blind)
#AB6D68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d7828;
/* rgb */ color: rgb(157, 120, 40);
/* oklch */ color: oklch(59.4% 0.106 82.9);
Tailwind
colors: {
  custom: {
    50: '#be9e67',
    500: '#9d7828',
    950: '#000000',
  },
}
SCSS
$custom: #9d7828;
$custom-light: #be9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7828",
  "rgb": {
    "r": 157,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 41.026,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59439,
    "c": 0.10553,
    "h": 82.9
  },
  "luminance": 0.20754
}

Semantic roles & 50–950 ramp

primary
#9D7828
secondary
#627FBE
accent
#77E345
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9D7828

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

Preview Lab → · Contrast checker → · Palette generator →

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