#7F4918#7F4918

#7F4918 is a mid, moderate orange. Relative luminance 0.093; OKLCH L 46.1% C 0.096 H 58.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7F4918
RGBrgb(127, 73, 24)
HSLhsl(29, 68%, 30%)
HSVhsv(29, 81%, 50%)
CMYKcmyk(0%, 42.5%, 81.1%, 50.2%)
CIE-LABlab(36.64, 18.97, 37.36)
CIE-LCHlch(36.64, 41.90, 63.08°)
OKLaboklab(46.08% 0.0501 0.0815)
OKLCHoklch(46.08% 0.096 58.4)
XYZxyz(11.3008, 9.3443, 2.0725)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4918 #184E7F
analogous
#7F181A #7F4918 #7F7D18
triadic
#7F4918 #187F49 #49187F
tetradic
#7F4918 #1A7F18 #184E7F #7D187F
square
#7F4918 #1A7F18 #184E7F #7D187F
split-complementary
#7F4918 #187F7D #181A7F
monochromatic
#1A0F05 #4C2B0E #7F4918 #B26722 #D98538

Accessibility & contrast

On white

7.32
#7F4918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7F4918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F4918
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4918#FFFFFF#000000##FFFFFF
##7F49181.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F11
Deuteranopia (green-blind)
#665B18
Tritanopia (blue-blind)
#8B3D3F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f4918;
/* rgb */ color: rgb(127, 73, 24);
/* oklch */ color: oklch(46.1% 0.096 58.4);
Tailwind
colors: {
  custom: {
    50: '#a97c59',
    500: '#7f4918',
    950: '#000000',
  },
}
SCSS
$custom: #7f4918;
$custom-light: #a97c59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4918",
  "rgb": {
    "r": 127,
    "g": 73,
    "b": 24
  },
  "hsl": {
    "h": 28.544,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.09568,
    "h": 58.4
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#7F4918
secondary
#3F7CB3
accent
#98EB3D
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110903
muted
#807B78

Preview Lab

Preview with #7F4918

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

Preview Lab → · Contrast checker → · Palette generator →

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