#7F4818#7F4818

#7F4818 is a mid, moderate orange. Relative luminance 0.092; OKLCH L 45.9% C 0.096 H 57.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7F4818
RGBrgb(127, 72, 24)
HSLhsl(28, 68%, 30%)
HSVhsv(28, 81%, 50%)
CMYKcmyk(0%, 43.3%, 81.1%, 50.2%)
CIE-LABlab(36.39, 19.56, 37.12)
CIE-LCHlch(36.39, 41.96, 62.22°)
OKLaboklab(45.89% 0.0519 0.081)
OKLCHoklch(45.89% 0.096 57.4)
XYZxyz(11.2356, 9.2139, 2.0507)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4818 #184F7F
analogous
#7F181C #7F4818 #7F7C18
triadic
#7F4818 #187F48 #48187F
tetradic
#7F4818 #1C7F18 #184F7F #7C187F
square
#7F4818 #1C7F18 #184F7F #7C187F
split-complementary
#7F4818 #187F7C #181C7F
monochromatic
#1A0F05 #4C2B0E #7F4818 #B26522 #D98338

Accessibility & contrast

On white

7.39
#7F4818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7F4818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F4818
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4818#FFFFFF#000000##FFFFFF
##7F48181.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E11
Deuteranopia (green-blind)
#665B18
Tritanopia (blue-blind)
#8B3C3E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f4818;
/* rgb */ color: rgb(127, 72, 24);
/* oklch */ color: oklch(45.9% 0.096 57.4);
Tailwind
colors: {
  custom: {
    50: '#a97b58',
    500: '#7f4818',
    950: '#000000',
  },
}
SCSS
$custom: #7f4818;
$custom-light: #a97b58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4818",
  "rgb": {
    "r": 127,
    "g": 72,
    "b": 24
  },
  "hsl": {
    "h": 27.961,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4589,
    "c": 0.09618,
    "h": 57.4
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#7F4818
secondary
#3F7DB3
accent
#9AEB3D
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110903
muted
#807B78

Preview Lab

Preview with #7F4818

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

Preview Lab → · Contrast checker → · Palette generator →

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