#9E781F#9E781F

#9E781F is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.5% C 0.111 H 83.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9E781F
RGBrgb(158, 120, 31)
HSLhsl(42, 67%, 37%)
HSVhsv(42, 80%, 62%)
CMYKcmyk(0%, 24.1%, 80.4%, 38%)
CIE-LABlab(52.73, 6.32, 50.92)
CIE-LCHlch(52.73, 51.31, 82.92°)
OKLaboklab(59.49% 0.0121 0.1106)
OKLCHoklch(59.49% 0.111 83.8)
XYZxyz(21.0657, 20.8025, 4.2018)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E781F #1F459E
analogous
#9E381F #9E781F #859E1F
triadic
#9E781F #1F9E78 #781F9E
tetradic
#9E781F #1F9E38 #1F459E #9E1F85
square
#9E781F #1F9E38 #1F459E #9E1F85
split-complementary
#9E781F #1F859E #381F9E
monochromatic
#382A0B #6B5115 #9E781F #D19F29 #DEB659

Accessibility & contrast

On white

4.07
#9E781F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9E781F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E781F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E781F#FFFFFF#000000##000000
##9E781F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#AC6C67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e781f;
/* rgb */ color: rgb(158, 120, 31);
/* oklch */ color: oklch(59.5% 0.111 83.8);
Tailwind
colors: {
  custom: {
    50: '#bf9e62',
    500: '#9e781f',
    950: '#000000',
  },
}
SCSS
$custom: #9e781f;
$custom-light: #bf9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#9e781f",
  "rgb": {
    "r": 158,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 42.047,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59486,
    "c": 0.11121,
    "h": 83.8
  },
  "luminance": 0.20801
}

Semantic roles & 50–950 ramp

primary
#9E781F
secondary
#5677C2
accent
#71EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9E781F

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

Preview Lab → · Contrast checker → · Palette generator →

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