#9D7823#9D7823

#9D7823 is a mid, moderate orange. Relative luminance 0.207; OKLCH L 59.4% C 0.109 H 83.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9D7823
RGBrgb(157, 120, 35)
HSLhsl(42, 64%, 38%)
HSVhsv(42, 78%, 62%)
CMYKcmyk(0%, 23.6%, 77.7%, 38.4%)
CIE-LABlab(52.65, 6.03, 49.27)
CIE-LCHlch(52.65, 49.64, 83.03°)
OKLaboklab(59.4% 0.0117 0.108)
OKLCHoklch(59.4% 0.109 83.8)
XYZxyz(20.9258, 20.7239, 4.4878)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7823 #23489D
analogous
#9D3B23 #9D7823 #859D23
triadic
#9D7823 #239D78 #78239D
tetradic
#9D7823 #239D3B #23489D #9D2385
square
#9D7823 #239D3B #23489D #9D2385
split-complementary
#9D7823 #23859D #3B239D
monochromatic
#392B0D #6B5218 #9D7823 #CF9E2E #DBB65F

Accessibility & contrast

On white

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

On black

5.14
#9D7823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7823
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7823#FFFFFF#000000##000000
##9D78231.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887815
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#AB6C67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d7823;
/* rgb */ color: rgb(157, 120, 35);
/* oklch */ color: oklch(59.4% 0.109 83.8);
Tailwind
colors: {
  custom: {
    50: '#be9e64',
    500: '#9d7823',
    950: '#000000',
  },
}
SCSS
$custom: #9d7823;
$custom-light: #be9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7823",
  "rgb": {
    "r": 157,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 41.803,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59401,
    "c": 0.10861,
    "h": 83.8
  },
  "luminance": 0.20722
}

Semantic roles & 50–950 ramp

primary
#9D7823
secondary
#5C7AC0
accent
#73E741
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9D7823

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

Preview Lab → · Contrast checker → · Palette generator →

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