#9E781C#9E781C

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

Color values

HEX#9E781C
RGBrgb(158, 120, 28)
HSLhsl(42, 70%, 36%)
HSVhsv(42, 82%, 62%)
CMYKcmyk(0%, 24.1%, 82.3%, 38%)
CIE-LABlab(52.72, 6.22, 51.97)
CIE-LCHlch(52.72, 52.34, 83.18°)
OKLaboklab(59.47% 0.0114 0.1121)
OKLCHoklch(59.47% 0.113 84.2)
XYZxyz(21.0280, 20.7874, 4.0032)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E781C #1C429E
analogous
#9E371C #9E781C #839E1C
triadic
#9E781C #1C9E78 #781C9E
tetradic
#9E781C #1C9E37 #1C429E #9E1C83
square
#9E781C #1C9E37 #1C429E #9E1C83
split-complementary
#9E781C #1C839E #371C9E
monochromatic
#36290A #6A5113 #9E781C #D29F25 #E1B754

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E781C#FFFFFF#000000##000000
##9E781C1.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)
#887806
Deuteranopia (green-blind)
#918221
Tritanopia (blue-blind)
#AC6C67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e781c;
/* rgb */ color: rgb(158, 120, 28);
/* oklch */ color: oklch(59.5% 0.113 84.2);
Tailwind
colors: {
  custom: {
    50: '#bf9e61',
    500: '#9e781c',
    950: '#000000',
  },
}
SCSS
$custom: #9e781c;
$custom-light: #bf9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#9e781c",
  "rgb": {
    "r": 158,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 42.462,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.11271,
    "h": 84.2
  },
  "luminance": 0.20786
}

Semantic roles & 50–950 ramp

primary
#9E781C
secondary
#5273C4
accent
#6FED3B
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9E781C

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

Preview Lab → · Contrast checker → · Palette generator →

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