#9E792F#9E792F

#9E792F is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.8% C 0.102 H 81.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9E792F
RGBrgb(158, 121, 47)
HSLhsl(40, 54%, 40%)
HSVhsv(40, 70%, 62%)
CMYKcmyk(0%, 23.4%, 70.3%, 38%)
CIE-LABlab(53.11, 6.52, 44.60)
CIE-LCHlch(53.11, 45.08, 81.68°)
OKLaboklab(59.82% 0.0146 0.1005)
OKLCHoklch(59.82% 0.102 81.7)
XYZxyz(21.4523, 21.1506, 5.6414)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E792F #2F549E
analogous
#9E422F #9E792F #8B9E2F
triadic
#9E792F #2F9E79 #792F9E
tetradic
#9E792F #2F9E42 #2F549E #9E2F8B
square
#9E792F #2F9E42 #2F549E #9E2F8B
split-complementary
#9E792F #2F8B9E #422F9E
monochromatic
#403113 #6F5521 #9E792F #C79B43 #D5B472

Accessibility & contrast

On white

4.02
#9E792F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9E792F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E792F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E792F#FFFFFF#000000##000000
##9E792F1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887926
Deuteranopia (green-blind)
#918332
Tritanopia (blue-blind)
#AB6E69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e792f;
/* rgb */ color: rgb(158, 121, 47);
/* oklch */ color: oklch(59.8% 0.102 81.7);
Tailwind
colors: {
  custom: {
    50: '#be9f6b',
    500: '#9e792f',
    950: '#000000',
  },
}
SCSS
$custom: #9e792f;
$custom-light: #be9f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e792f",
  "rgb": {
    "r": 158,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 40,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59822,
    "c": 0.10151,
    "h": 81.7
  },
  "luminance": 0.21149
}

Semantic roles & 50–950 ramp

primary
#9E792F
secondary
#6C87BD
accent
#7BDE4A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E07
muted
#827E7A

Preview Lab

Preview with #9E792F

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

Preview Lab → · Contrast checker → · Palette generator →

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