#7E642F#7E642F

#7E642F is a mid, moderate orange. Relative luminance 0.138; OKLCH L 51.8% C 0.078 H 83.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7E642F
RGBrgb(126, 100, 47)
HSLhsl(40, 46%, 34%)
HSVhsv(40, 63%, 49%)
CMYKcmyk(0%, 20.6%, 62.7%, 50.6%)
CIE-LABlab(43.88, 3.89, 33.47)
CIE-LCHlch(43.88, 33.69, 83.37°)
OKLaboklab(51.77% 0.0092 0.0777)
OKLCHoklch(51.77% 0.078 83.2)
XYZxyz(13.6751, 13.7560, 4.6237)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E642F #2F497E
analogous
#7E3D2F #7E642F #717E2F
triadic
#7E642F #2F7E64 #642F7E
tetradic
#7E642F #2F7E3D #2F497E #7E2F71
square
#7E642F #2F7E3D #2F497E #7E2F71
split-complementary
#7E642F #2F717E #3D2F7E
monochromatic
#251D0E #51411E #7E642F #AB8740 #C5A463

Accessibility & contrast

On white

5.60
#7E642F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7E642F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E642F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E642F#FFFFFF#000000##FFFFFF
##7E642F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F642A
Deuteranopia (green-blind)
#766A31
Tritanopia (blue-blind)
#885C58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e642f;
/* rgb */ color: rgb(126, 100, 47);
/* oklch */ color: oklch(51.8% 0.078 83.2);
Tailwind
colors: {
  custom: {
    50: '#a69069',
    500: '#7e642f',
    950: '#000000',
  },
}
SCSS
$custom: #7e642f;
$custom-light: #a69069;
$custom-dark: #000000;
JSON
{
  "hex": "#7e642f",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 47
  },
  "hsl": {
    "h": 40.253,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.07828,
    "h": 83.2
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#7E642F
secondary
#5D77AC
accent
#7ED552
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#100C06
muted
#7F7D7A

Preview Lab

Preview with #7E642F

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

Preview Lab → · Contrast checker → · Palette generator →

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