#7F4212#7F4212

#7F4212 is a dark, moderate orange. Relative luminance 0.085; OKLCH L 44.7% C 0.102 H 53.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7F4212
RGBrgb(127, 66, 18)
HSLhsl(26, 75%, 28%)
HSVhsv(26, 86%, 50%)
CMYKcmyk(0%, 48%, 85.8%, 50.2%)
CIE-LABlab(34.91, 22.82, 38.44)
CIE-LCHlch(34.91, 44.70, 59.31°)
OKLaboklab(44.73% 0.0607 0.0821)
OKLCHoklch(44.73% 0.102 53.5)
XYZxyz(10.8108, 8.4534, 1.6345)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4212 #124F7F
analogous
#7F1218 #7F4212 #7F7812
triadic
#7F4212 #127F42 #42127F
tetradic
#7F4212 #187F12 #124F7F #78127F
square
#7F4212 #187F12 #124F7F #78127F
split-complementary
#7F4212 #127F78 #12187F
monochromatic
#1B0E04 #49260A #7F4212 #B55E1A #E17B2B

Accessibility & contrast

On white

7.81
#7F4212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7F4212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F4212
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4212#FFFFFF#000000##FFFFFF
##7F42121.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0A
Deuteranopia (green-blind)
#635711
Tritanopia (blue-blind)
#8C3439
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f4212;
/* rgb */ color: rgb(127, 66, 18);
/* oklch */ color: oklch(44.7% 0.102 53.5);
Tailwind
colors: {
  custom: {
    50: '#aa7754',
    500: '#7f4212',
    950: '#000000',
  },
}
SCSS
$custom: #7f4212;
$custom-light: #aa7754;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4212",
  "rgb": {
    "r": 127,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 26.422,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.44734,
    "c": 0.10209,
    "h": 53.5
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#7F4212
secondary
#387EB5
accent
#9FF236
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110803
muted
#807B78

Preview Lab

Preview with #7F4212

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

Preview Lab → · Contrast checker → · Palette generator →

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