#7F4018#7F4018

#7F4018 is a dark, moderate orange. Relative luminance 0.082; OKLCH L 44.4% C 0.101 H 49.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7F4018
RGBrgb(127, 64, 24)
HSLhsl(23, 68%, 30%)
HSVhsv(23, 81%, 50%)
CMYKcmyk(0%, 49.6%, 81.1%, 50.2%)
CIE-LABlab(34.49, 24.19, 35.27)
CIE-LCHlch(34.49, 42.77, 55.56°)
OKLaboklab(44.43% 0.0657 0.077)
OKLCHoklch(44.43% 0.101 49.5)
XYZxyz(10.7517, 8.2460, 1.8894)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4018 #18577F
analogous
#7F1824 #7F4018 #7F7418
triadic
#7F4018 #187F40 #40187F
tetradic
#7F4018 #247F18 #18577F #74187F
square
#7F4018 #247F18 #18577F #74187F
split-complementary
#7F4018 #187F74 #18247F
monochromatic
#1A0D05 #4C260E #7F4018 #B25A22 #D97738

Accessibility & contrast

On white

7.93
#7F4018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F4018
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4018#FFFFFF#000000##FFFFFF
##7F40181.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524813
Deuteranopia (green-blind)
#615717
Tritanopia (blue-blind)
#8C3238
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f4018;
/* rgb */ color: rgb(127, 64, 24);
/* oklch */ color: oklch(44.4% 0.101 49.5);
Tailwind
colors: {
  custom: {
    50: '#aa7658',
    500: '#7f4018',
    950: '#000000',
  },
}
SCSS
$custom: #7f4018;
$custom-light: #aa7658;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4018",
  "rgb": {
    "r": 127,
    "g": 64,
    "b": 24
  },
  "hsl": {
    "h": 23.301,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.44427,
    "c": 0.10123,
    "h": 49.5
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#7F4018
secondary
#3F86B3
accent
#A7EB3D
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110803
muted
#807B78

Preview Lab

Preview with #7F4018

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

Preview Lab → · Contrast checker → · Palette generator →

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