#9E7828#9E7828

#9E7828 is a mid, moderate orange. Relative luminance 0.209; OKLCH L 59.6% C 0.106 H 82.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9E7828
RGBrgb(158, 120, 40)
HSLhsl(41, 60%, 39%)
HSVhsv(41, 75%, 62%)
CMYKcmyk(0%, 24.1%, 74.7%, 38%)
CIE-LABlab(52.79, 6.72, 47.39)
CIE-LCHlch(52.79, 47.86, 81.93°)
OKLaboklab(59.55% 0.0143 0.105)
OKLCHoklch(59.55% 0.106 82.3)
XYZxyz(21.2014, 20.8568, 4.9162)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7828 #284E9E
analogous
#9E3D28 #9E7828 #899E28
triadic
#9E7828 #289E78 #78289E
tetradic
#9E7828 #289E3D #284E9E #9E2889
square
#9E7828 #289E3D #284E9E #9E2889
split-complementary
#9E7828 #28899E #3D289E
monochromatic
#3C2E0F #6D531C #9E7828 #CC9C37 #D9B468

Accessibility & contrast

On white

4.06
#9E7828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9E7828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7828
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7828#FFFFFF#000000##000000
##9E78281.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e7828;
/* rgb */ color: rgb(158, 120, 40);
/* oklch */ color: oklch(59.6% 0.106 82.3);
Tailwind
colors: {
  custom: {
    50: '#bf9e67',
    500: '#9e7828',
    950: '#000000',
  },
}
SCSS
$custom: #9e7828;
$custom-light: #bf9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7828",
  "rgb": {
    "r": 158,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 40.678,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59552,
    "c": 0.10596,
    "h": 82.3
  },
  "luminance": 0.20855
}

Semantic roles & 50–950 ramp

primary
#9E7828
secondary
#6381BF
accent
#78E345
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9E7828

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

Preview Lab → · Contrast checker → · Palette generator →

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