#7F401A#7F401A

#7F401A is a dark, moderate orange. Relative luminance 0.083; OKLCH L 44.4% C 0.100 H 48.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7F401A
RGBrgb(127, 64, 26)
HSLhsl(23, 66%, 30%)
HSVhsv(23, 80%, 50%)
CMYKcmyk(0%, 49.6%, 79.5%, 50.2%)
CIE-LABlab(34.51, 24.27, 34.29)
CIE-LCHlch(34.51, 42.01, 54.71°)
OKLaboklab(44.45% 0.0663 0.0754)
OKLCHoklch(44.45% 0.1 48.7)
XYZxyz(10.7733, 8.2547, 2.0031)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F401A #1A597F
analogous
#7F1A27 #7F401A #7F721A
triadic
#7F401A #1A7F40 #401A7F
tetradic
#7F401A #277F1A #1A597F #721A7F
square
#7F401A #277F1A #1A597F #721A7F
split-complementary
#7F401A #1A7F72 #1A277F
monochromatic
#190D05 #4C2610 #7F401A #B25A24 #D7773C

Accessibility & contrast

On white

7.92
#7F401A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7F401A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F401A
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F401A#FFFFFF#000000##FFFFFF
##7F401A1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524815
Deuteranopia (green-blind)
#615719
Tritanopia (blue-blind)
#8C3338
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f401a;
/* rgb */ color: rgb(127, 64, 26);
/* oklch */ color: oklch(44.4% 0.100 48.7);
Tailwind
colors: {
  custom: {
    50: '#aa7659',
    500: '#7f401a',
    950: '#000000',
  },
}
SCSS
$custom: #7f401a;
$custom-light: #aa7659;
$custom-dark: #000000;
JSON
{
  "hex": "#7f401a",
  "rgb": {
    "r": 127,
    "g": 64,
    "b": 26
  },
  "hsl": {
    "h": 22.574,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.44446,
    "c": 0.10043,
    "h": 48.7
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#7F401A
secondary
#4288B3
accent
#A9E93F
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110803
muted
#807B78

Preview Lab

Preview with #7F401A

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

Preview Lab → · Contrast checker → · Palette generator →

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