#7E4728#7E4728

#7E4728 is a mid, moderate orange. Relative luminance 0.091; OKLCH L 45.7% C 0.087 H 48.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7E4728
RGBrgb(126, 71, 40)
HSLhsl(22, 52%, 33%)
HSVhsv(22, 68%, 49%)
CMYKcmyk(0%, 43.7%, 68.3%, 50.6%)
CIE-LABlab(36.17, 20.56, 28.41)
CIE-LCHlch(36.17, 35.07, 54.11°)
OKLaboklab(45.74% 0.0577 0.0658)
OKLCHoklch(45.74% 0.087 48.8)
XYZxyz(11.2413, 9.0965, 3.1709)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4728 #285F7E
analogous
#7E2834 #7E4728 #7E7228
triadic
#7E4728 #287E47 #47287E
tetradic
#7E4728 #347E28 #285F7E #72287E
square
#7E4728 #347E28 #285F7E #72287E
split-complementary
#7E4728 #287E72 #28347E
monochromatic
#21130B #502D19 #7E4728 #AC6137 #CA8057

Accessibility & contrast

On white

7.45
#7E4728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7E4728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E4728
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4728#FFFFFF#000000##FFFFFF
##7E47281.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E25
Deuteranopia (green-blind)
#635A28
Tritanopia (blue-blind)
#8A3C40
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e4728;
/* rgb */ color: rgb(126, 71, 40);
/* oklch */ color: oklch(45.7% 0.087 48.8);
Tailwind
colors: {
  custom: {
    50: '#a87b63',
    500: '#7e4728',
    950: '#000000',
  },
}
SCSS
$custom: #7e4728;
$custom-light: #a87b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4728",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 40
  },
  "hsl": {
    "h": 21.628,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4574,
    "c": 0.08749,
    "h": 48.8
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#7E4728
secondary
#538EAF
accent
#A8DB4D
background
#FAF7F5
surface
#F4EDEA
border
#CEC8C6
text
#100905
muted
#7F7B79

Preview Lab

Preview with #7E4728

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

Preview Lab → · Contrast checker → · Palette generator →

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