#7E5F18#7E5F18

#7E5F18 is a mid, moderate orange. Relative luminance 0.127; OKLCH L 50.4% C 0.094 H 83.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7E5F18
RGBrgb(126, 95, 24)
HSLhsl(42, 68%, 29%)
HSVhsv(42, 81%, 49%)
CMYKcmyk(0%, 24.6%, 81%, 50.6%)
CIE-LABlab(42.29, 5.46, 42.64)
CIE-LCHlch(42.29, 42.99, 82.70°)
OKLaboklab(50.45% 0.0107 0.0929)
OKLCHoklch(50.45% 0.094 83.5)
XYZxyz(12.8621, 12.6869, 2.6354)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5F18 #18377E
analogous
#7E2C18 #7E5F18 #6A7E18
triadic
#7E5F18 #187E5F #5F187E
tetradic
#7E5F18 #187E2C #18377E #7E186A
square
#7E5F18 #187E2C #18377E #7E186A
split-complementary
#7E5F18 #186A7E #2C187E
monochromatic
#1A1305 #4B380E #7E5F18 #B18622 #D9A837

Accessibility & contrast

On white

5.94
#7E5F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7E5F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5F18
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5F18#FFFFFF#000000##FFFFFF
##7E5F181.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0B
Deuteranopia (green-blind)
#74671C
Tritanopia (blue-blind)
#895551
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e5f18;
/* rgb */ color: rgb(126, 95, 24);
/* oklch */ color: oklch(50.4% 0.094 83.5);
Tailwind
colors: {
  custom: {
    50: '#a78c5b',
    500: '#7e5f18',
    950: '#000000',
  },
}
SCSS
$custom: #7e5f18;
$custom-light: #a78c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5f18",
  "rgb": {
    "r": 126,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 41.765,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5045,
    "c": 0.09354,
    "h": 83.5
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#7E5F18
secondary
#3F62B2
accent
#72EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E5F18

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

Preview Lab → · Contrast checker → · Palette generator →

#7E5F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva