#9E781B#9E781B

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

Color values

HEX#9E781B
RGBrgb(158, 120, 27)
HSLhsl(43, 71%, 36%)
HSVhsv(43, 83%, 62%)
CMYKcmyk(0%, 24.1%, 82.9%, 38%)
CIE-LABlab(52.71, 6.18, 52.31)
CIE-LCHlch(52.71, 52.67, 83.26°)
OKLaboklab(59.46% 0.0112 0.1126)
OKLCHoklch(59.46% 0.113 84.3)
XYZxyz(21.0163, 20.7827, 3.9413)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E781B #1B419E
analogous
#9E361B #9E781B #839E1B
triadic
#9E781B #1B9E78 #781B9E
tetradic
#9E781B #1B9E36 #1B419E #9E1B83
square
#9E781B #1B9E36 #1B419E #9E1B83
split-complementary
#9E781B #1B839E #361B9E
monochromatic
#352909 #6A5012 #9E781B #D2A024 #E1B852

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E781B#FFFFFF#000000##000000
##9E781B1.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)
#887804
Deuteranopia (green-blind)
#918220
Tritanopia (blue-blind)
#AC6C67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e781b;
/* rgb */ color: rgb(158, 120, 27);
/* oklch */ color: oklch(59.5% 0.113 84.3);
Tailwind
colors: {
  custom: {
    50: '#bf9e61',
    500: '#9e781b',
    950: '#000000',
  },
}
SCSS
$custom: #9e781b;
$custom-light: #bf9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#9e781b",
  "rgb": {
    "r": 158,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 42.595,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.11319,
    "h": 84.3
  },
  "luminance": 0.20781
}

Semantic roles & 50–950 ramp

primary
#9E781B
secondary
#5172C4
accent
#6EEE3A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9E781B

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

Preview Lab → · Contrast checker → · Palette generator →

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