#7F541B#7F541B

#7F541B is a mid, moderate orange. Relative luminance 0.109; OKLCH L 48.3% C 0.091 H 69.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7F541B
RGBrgb(127, 84, 27)
HSLhsl(34, 65%, 30%)
HSVhsv(34, 79%, 50%)
CMYKcmyk(0%, 33.9%, 78.7%, 50.2%)
CIE-LABlab(39.47, 12.59, 38.72)
CIE-LCHlch(39.47, 40.72, 71.98°)
OKLaboklab(48.28% 0.0317 0.0852)
OKLCHoklch(48.28% 0.091 69.6)
XYZxyz(12.1215, 10.9329, 2.5086)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F541B #1B467F
analogous
#7F221B #7F541B #787F1B
triadic
#7F541B #1B7F54 #541B7F
tetradic
#7F541B #1B7F22 #1B467F #7F1B78
square
#7F541B #1B7F22 #1B467F #7F1B78
split-complementary
#7F541B #1B787F #221B7F
monochromatic
#1A1106 #4D3310 #7F541B #B17526 #D6953E

Accessibility & contrast

On white

6.59
#7F541B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7F541B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F541B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F541B#FFFFFF#000000##FFFFFF
##7F541B1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625713
Deuteranopia (green-blind)
#6D611C
Tritanopia (blue-blind)
#8B4948
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f541b;
/* rgb */ color: rgb(127, 84, 27);
/* oklch */ color: oklch(48.3% 0.091 69.6);
Tailwind
colors: {
  custom: {
    50: '#a9845b',
    500: '#7f541b',
    950: '#000000',
  },
}
SCSS
$custom: #7f541b;
$custom-light: #a9845b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f541b",
  "rgb": {
    "r": 127,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 34.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48279,
    "c": 0.09092,
    "h": 69.6
  },
  "luminance": 0.10932
}

Semantic roles & 50–950 ramp

primary
#7F541B
secondary
#4373B3
accent
#88E840
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100A04
muted
#7F7C79

Preview Lab

Preview with #7F541B

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

Preview Lab → · Contrast checker → · Palette generator →

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