#9D7A23#9D7A23

#9D7A23 is a mid, moderate orange. Relative luminance 0.212; OKLCH L 59.8% C 0.109 H 85.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9D7A23
RGBrgb(157, 122, 35)
HSLhsl(43, 64%, 38%)
HSVhsv(43, 78%, 62%)
CMYKcmyk(0%, 22.3%, 77.7%, 38.4%)
CIE-LABlab(53.18, 4.90, 49.77)
CIE-LCHlch(53.18, 50.01, 84.38°)
OKLaboklab(59.82% 0.0085 0.1091)
OKLCHoklch(59.82% 0.109 85.6)
XYZxyz(21.1689, 21.2100, 4.5688)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7A23 #23469D
analogous
#9D3D23 #9D7A23 #839D23
triadic
#9D7A23 #239D7A #7A239D
tetradic
#9D7A23 #239D3D #23469D #9D2383
square
#9D7A23 #239D3D #23469D #9D2383
split-complementary
#9D7A23 #23839D #3D239D
monochromatic
#392C0D #6B5318 #9D7A23 #CFA12E #DBB85F

Accessibility & contrast

On white

4.01
#9D7A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9D7A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7A23
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7A23#FFFFFF#000000##000000
##9D7A231.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A14
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#AB6E69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d7a23;
/* rgb */ color: rgb(157, 122, 35);
/* oklch */ color: oklch(59.8% 0.109 85.6);
Tailwind
colors: {
  custom: {
    50: '#bea065',
    500: '#9d7a23',
    950: '#000000',
  },
}
SCSS
$custom: #9d7a23;
$custom-light: #bea065;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7a23",
  "rgb": {
    "r": 157,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 42.787,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59819,
    "c": 0.10938,
    "h": 85.6
  },
  "luminance": 0.21209
}

Semantic roles & 50–950 ramp

primary
#9D7A23
secondary
#5C78C0
accent
#71E741
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9D7A23

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

Preview Lab → · Contrast checker → · Palette generator →

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