#9E7E2F#9E7E2F

#9E7E2F is a mid, moderate orange. Relative luminance 0.224; OKLCH L 60.9% C 0.104 H 86.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9E7E2F
RGBrgb(158, 126, 47)
HSLhsl(43, 54%, 40%)
HSVhsv(43, 70%, 62%)
CMYKcmyk(0%, 20.3%, 70.3%, 38%)
CIE-LABlab(54.45, 3.70, 45.99)
CIE-LCHlch(54.45, 46.14, 85.40°)
OKLaboklab(60.87% 0.0064 0.1034)
OKLCHoklch(60.87% 0.104 86.4)
XYZxyz(22.0757, 22.3975, 5.8492)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7E2F #2F4F9E
analogous
#9E472F #9E7E2F #869E2F
triadic
#9E7E2F #2F9E7E #7E2F9E
tetradic
#9E7E2F #2F9E47 #2F4F9E #9E2F86
square
#9E7E2F #2F9E47 #2F4F9E #9E2F86
split-complementary
#9E7E2F #2F869E #472F9E
monochromatic
#403313 #6F5821 #9E7E2F #C7A143 #D5B972

Accessibility & contrast

On white

3.83
#9E7E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9E7E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7E2F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7E2F#FFFFFF#000000##000000
##9E7E2F1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D25
Deuteranopia (green-blind)
#958632
Tritanopia (blue-blind)
#AB736E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9e7e2f;
/* rgb */ color: rgb(158, 126, 47);
/* oklch */ color: oklch(60.9% 0.104 86.4);
Tailwind
colors: {
  custom: {
    50: '#bea36c',
    500: '#9e7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #9e7e2f;
$custom-light: #bea36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7e2f",
  "rgb": {
    "r": 158,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 42.703,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60869,
    "c": 0.10361,
    "h": 86.4
  },
  "luminance": 0.22396
}

Semantic roles & 50–950 ramp

primary
#9E7E2F
secondary
#6C83BD
accent
#75DE4A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F07
muted
#827E7A

Preview Lab

Preview with #9E7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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