#9E7822#9E7822

#9E7822 is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.5% C 0.110 H 83.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9E7822
RGBrgb(158, 120, 34)
HSLhsl(42, 65%, 38%)
HSVhsv(42, 78%, 62%)
CMYKcmyk(0%, 24.1%, 78.5%, 38%)
CIE-LABlab(52.75, 6.44, 49.80)
CIE-LCHlch(52.75, 50.22, 82.63°)
OKLaboklab(59.51% 0.0127 0.1088)
OKLCHoklch(59.51% 0.11 83.3)
XYZxyz(21.1071, 20.8191, 4.4199)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7822 #22489E
analogous
#9E3A22 #9E7822 #869E22
triadic
#9E7822 #229E78 #78229E
tetradic
#9E7822 #229E3A #22489E #9E2286
square
#9E7822 #229E3A #22489E #9E2286
split-complementary
#9E7822 #22869E #3A229E
monochromatic
#392B0C #6C5217 #9E7822 #D09E2D #DCB65E

Accessibility & contrast

On white

4.07
#9E7822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9E7822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7822
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7822#FFFFFF#000000##000000
##9E78221.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#AC6C67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e7822;
/* rgb */ color: rgb(158, 120, 34);
/* oklch */ color: oklch(59.5% 0.110 83.3);
Tailwind
colors: {
  custom: {
    50: '#bf9e64',
    500: '#9e7822',
    950: '#000000',
  },
}
SCSS
$custom: #9e7822;
$custom-light: #bf9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7822",
  "rgb": {
    "r": 158,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 41.613,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.10958,
    "h": 83.3
  },
  "luminance": 0.20818
}

Semantic roles & 50–950 ramp

primary
#9E7822
secondary
#5B7AC1
accent
#74E840
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9E7822

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

Preview Lab → · Contrast checker → · Palette generator →

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