#9E7218#9E7218

#9E7218 is a mid, moderate orange. Relative luminance 0.194; OKLCH L 58.2% C 0.113 H 79.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9E7218
RGBrgb(158, 114, 24)
HSLhsl(40, 74%, 36%)
HSVhsv(40, 85%, 62%)
CMYKcmyk(0%, 27.8%, 84.8%, 38%)
CIE-LABlab(51.12, 9.49, 51.92)
CIE-LCHlch(51.12, 52.78, 79.64°)
OKLaboklab(58.21% 0.0205 0.1111)
OKLCHoklch(58.21% 0.113 79.6)
XYZxyz(20.2842, 19.3713, 3.5347)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7218 #18449E
analogous
#9E2F18 #9E7218 #879E18
triadic
#9E7218 #189E72 #72189E
tetradic
#9E7218 #189E2F #18449E #9E1887
square
#9E7218 #189E2F #18449E #9E1887
split-complementary
#9E7218 #18879E #2F189E
monochromatic
#342508 #694C10 #9E7218 #D39820 #E4B24D

Accessibility & contrast

On white

4.31
#9E7218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9E7218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7218
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7218#FFFFFF#000000##000000
##9E72181.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#837301
Deuteranopia (green-blind)
#8D7E1D
Tritanopia (blue-blind)
#AC6561
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e7218;
/* rgb */ color: rgb(158, 114, 24);
/* oklch */ color: oklch(58.2% 0.113 79.6);
Tailwind
colors: {
  custom: {
    50: '#c09a5e',
    500: '#9e7218',
    950: '#000000',
  },
}
SCSS
$custom: #9e7218;
$custom-light: #c09a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7218",
  "rgb": {
    "r": 158,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 40.299,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.11294,
    "h": 79.6
  },
  "luminance": 0.1937
}

Semantic roles & 50–950 ramp

primary
#9E7218
secondary
#4C74C6
accent
#74F038
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9E7218

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

Preview Lab → · Contrast checker → · Palette generator →

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