#9A7828#9A7828

#9A7828 is a mid, moderate orange. Relative luminance 0.205; OKLCH L 59.1% C 0.104 H 84.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9A7828
RGBrgb(154, 120, 40)
HSLhsl(42, 59%, 38%)
HSVhsv(42, 74%, 60%)
CMYKcmyk(0%, 22.1%, 74%, 39.6%)
CIE-LABlab(52.35, 4.88, 46.80)
CIE-LCHlch(52.35, 47.06, 84.05°)
OKLaboklab(59.11% 0.0092 0.1039)
OKLCHoklch(59.11% 0.104 84.9)
XYZxyz(20.4271, 20.4576, 4.8799)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7828 #284A9A
analogous
#9A3F28 #9A7828 #839A28
triadic
#9A7828 #289A78 #78289A
tetradic
#9A7828 #289A3F #284A9A #9A2883
square
#9A7828 #289A3F #284A9A #9A2883
split-complementary
#9A7828 #28839A #3F289A
monochromatic
#392C0F #69521B #9A7828 #CA9E35 #D7B565

Accessibility & contrast

On white

4.12
#9A7828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9A7828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7828
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7828#FFFFFF#000000##000000
##9A78281.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781D
Deuteranopia (green-blind)
#8F812C
Tritanopia (blue-blind)
#A76D68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a7828;
/* rgb */ color: rgb(154, 120, 40);
/* oklch */ color: oklch(59.1% 0.104 84.9);
Tailwind
colors: {
  custom: {
    50: '#bc9e67',
    500: '#9a7828',
    950: '#000000',
  },
}
SCSS
$custom: #9a7828;
$custom-light: #bc9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7828",
  "rgb": {
    "r": 154,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 42.105,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59105,
    "c": 0.10435,
    "h": 84.9
  },
  "luminance": 0.20456
}

Semantic roles & 50–950 ramp

primary
#9A7828
secondary
#617CBD
accent
#74E246
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #9A7828

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

Preview Lab → · Contrast checker → · Palette generator →

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