#9D7928#9D7928

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

Color values

HEX#9D7928
RGBrgb(157, 121, 40)
HSLhsl(42, 59%, 39%)
HSVhsv(42, 75%, 62%)
CMYKcmyk(0%, 22.9%, 74.5%, 38.4%)
CIE-LABlab(52.95, 5.69, 47.51)
CIE-LCHlch(52.95, 47.85, 83.17°)
OKLaboklab(59.65% 0.0114 0.1053)
OKLCHoklch(59.65% 0.106 83.8)
XYZxyz(21.1263, 20.9975, 4.9473)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7928 #284C9D
analogous
#9D3E28 #9D7928 #869D28
triadic
#9D7928 #289D79 #79289D
tetradic
#9D7928 #289D3E #284C9D #9D2886
square
#9D7928 #289D3E #284C9D #9D2886
split-complementary
#9D7928 #28869D #3E289D
monochromatic
#3B2E0F #6C531C #9D7928 #CC9E36 #D8B567

Accessibility & contrast

On white

4.04
#9D7928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9D7928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7928
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7928#FFFFFF#000000##000000
##9D79281.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791C
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#AB6E69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d7928;
/* rgb */ color: rgb(157, 121, 40);
/* oklch */ color: oklch(59.6% 0.106 83.8);
Tailwind
colors: {
  custom: {
    50: '#be9f67',
    500: '#9d7928',
    950: '#000000',
  },
}
SCSS
$custom: #9d7928;
$custom-light: #be9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7928",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 41.538,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59648,
    "c": 0.1059,
    "h": 83.8
  },
  "luminance": 0.20996
}

Semantic roles & 50–950 ramp

primary
#9D7928
secondary
#627FBE
accent
#76E345
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9D7928

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

Preview Lab → · Contrast checker → · Palette generator →

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