#9D7A22#9D7A22

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

Color values

HEX#9D7A22
RGBrgb(157, 122, 34)
HSLhsl(43, 64%, 37%)
HSVhsv(43, 78%, 62%)
CMYKcmyk(0%, 22.3%, 78.3%, 38.4%)
CIE-LABlab(53.17, 4.85, 50.16)
CIE-LCHlch(53.17, 50.39, 84.47°)
OKLaboklab(59.81% 0.0082 0.1097)
OKLCHoklch(59.81% 0.11 85.7)
XYZxyz(21.1542, 21.2041, 4.4917)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7A22 #22459D
analogous
#9D3D22 #9D7A22 #829D22
triadic
#9D7A22 #229D7A #7A229D
tetradic
#9D7A22 #229D3D #22459D #9D2282
square
#9D7A22 #229D3D #22459D #9D2282
split-complementary
#9D7A22 #22829D #3D229D
monochromatic
#382C0C #6B5317 #9D7A22 #CFA12D #DCB85D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D7A22#FFFFFF#000000##000000
##9D7A221.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)
#8A7A12
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#AB6E69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d7a22;
/* rgb */ color: rgb(157, 122, 34);
/* oklch */ color: oklch(59.8% 0.110 85.7);
Tailwind
colors: {
  custom: {
    50: '#bea064',
    500: '#9d7a22',
    950: '#000000',
  },
}
SCSS
$custom: #9d7a22;
$custom-light: #bea064;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7a22",
  "rgb": {
    "r": 157,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 42.927,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59812,
    "c": 0.10996,
    "h": 85.7
  },
  "luminance": 0.21203
}

Semantic roles & 50–950 ramp

primary
#9D7A22
secondary
#5A77C1
accent
#70E740
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9D7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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