#7F4A12#7F4A12

#7F4A12 is a mid, moderate orange. Relative luminance 0.095; OKLCH L 46.2% C 0.098 H 61.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7F4A12
RGBrgb(127, 74, 18)
HSLhsl(31, 75%, 28%)
HSVhsv(31, 86%, 50%)
CMYKcmyk(0%, 41.7%, 85.8%, 50.2%)
CIE-LABlab(36.84, 18.16, 40.15)
CIE-LCHlch(36.84, 44.07, 65.66°)
OKLaboklab(46.23% 0.0469 0.0859)
OKLCHoklch(46.23% 0.098 61.4)
XYZxyz(11.3114, 9.4545, 1.8014)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4A12 #12477F
analogous
#7F1412 #7F4A12 #7D7F12
triadic
#7F4A12 #127F4A #4A127F
tetradic
#7F4A12 #127F14 #12477F #7F127D
square
#7F4A12 #127F14 #12477F #7F127D
split-complementary
#7F4A12 #127D7F #14127F
monochromatic
#1B1004 #492B0A #7F4A12 #B5691A #E1882B

Accessibility & contrast

On white

7.26
#7F4A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7F4A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F4A12
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4A12#FFFFFF#000000##FFFFFF
##7F4A121.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F07
Deuteranopia (green-blind)
#675B13
Tritanopia (blue-blind)
#8B3E3F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f4a12;
/* rgb */ color: rgb(127, 74, 18);
/* oklch */ color: oklch(46.2% 0.098 61.4);
Tailwind
colors: {
  custom: {
    50: '#aa7c55',
    500: '#7f4a12',
    950: '#000000',
  },
}
SCSS
$custom: #7f4a12;
$custom-light: #aa7c55;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4a12",
  "rgb": {
    "r": 127,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 30.826,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46225,
    "c": 0.09783,
    "h": 61.4
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#7F4A12
secondary
#3875B5
accent
#91F236
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110903
muted
#807B78

Preview Lab

Preview with #7F4A12

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

Preview Lab → · Contrast checker → · Palette generator →

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