#9E791A#9E791A

#9E791A is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.7% C 0.114 H 85.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9E791A
RGBrgb(158, 121, 26)
HSLhsl(43, 72%, 36%)
HSVhsv(43, 84%, 62%)
CMYKcmyk(0%, 23.4%, 83.5%, 38%)
CIE-LABlab(52.97, 5.58, 52.87)
CIE-LCHlch(52.97, 53.16, 83.97°)
OKLaboklab(59.67% 0.0094 0.1136)
OKLCHoklch(59.67% 0.114 85.3)
XYZxyz(21.1258, 21.0200, 3.9217)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E791A #1A3F9E
analogous
#9E371A #9E791A #819E1A
triadic
#9E791A #1A9E79 #791A9E
tetradic
#9E791A #1A9E37 #1A3F9E #9E1A81
square
#9E791A #1A9E37 #1A3F9E #9E1A81
split-complementary
#9E791A #1A819E #371A9E
monochromatic
#352909 #695111 #9E791A #D3A123 #E2B950

Accessibility & contrast

On white

4.04
#9E791A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9E791A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E791A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E791A#FFFFFF#000000##000000
##9E791A1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897901
Deuteranopia (green-blind)
#928220
Tritanopia (blue-blind)
#AC6D67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e791a;
/* rgb */ color: rgb(158, 121, 26);
/* oklch */ color: oklch(59.7% 0.114 85.3);
Tailwind
colors: {
  custom: {
    50: '#bf9f60',
    500: '#9e791a',
    950: '#000000',
  },
}
SCSS
$custom: #9e791a;
$custom-light: #bf9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#9e791a",
  "rgb": {
    "r": 158,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 43.182,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59665,
    "c": 0.114,
    "h": 85.3
  },
  "luminance": 0.21018
}

Semantic roles & 50–950 ramp

primary
#9E791A
secondary
#4F70C5
accent
#6CEE39
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9E791A

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

Preview Lab → · Contrast checker → · Palette generator →

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