#7F540F#7F540F

#7F540F is a mid, moderate orange. Relative luminance 0.109; OKLCH L 48.2% C 0.097 H 72.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7F540F
RGBrgb(127, 84, 15)
HSLhsl(37, 79%, 28%)
HSVhsv(37, 88%, 50%)
CMYKcmyk(0%, 33.9%, 88.2%, 50.2%)
CIE-LABlab(39.39, 12.14, 43.44)
CIE-LCHlch(39.39, 45.10, 74.38°)
OKLaboklab(48.2% 0.0289 0.0923)
OKLCHoklch(48.2% 0.097 72.6)
XYZxyz(12.0099, 10.8883, 1.9210)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F540F #0F3A7F
analogous
#7F1C0F #7F540F #727F0F
triadic
#7F540F #0F7F54 #540F7F
tetradic
#7F540F #0F7F1C #0F3A7F #7F0F72
square
#7F540F #0F7F1C #0F3A7F #7F0F72
split-complementary
#7F540F #0F727F #1C0F7F
monochromatic
#1B1203 #483009 #7F540F #B67815 #E59B23

Accessibility & contrast

On white

6.61
#7F540F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7F540F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F540F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F540F#FFFFFF#000000##FFFFFF
##7F540F1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#6D6112
Tritanopia (blue-blind)
#8B4947
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f540f;
/* rgb */ color: rgb(127, 84, 15);
/* oklch */ color: oklch(48.2% 0.097 72.6);
Tailwind
colors: {
  custom: {
    50: '#a98455',
    500: '#7f540f',
    950: '#000000',
  },
}
SCSS
$custom: #7f540f;
$custom-light: #a98455;
$custom-dark: #000000;
JSON
{
  "hex": "#7f540f",
  "rgb": {
    "r": 127,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 36.964,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48196,
    "c": 0.09672,
    "h": 72.6
  },
  "luminance": 0.10887
}

Semantic roles & 50–950 ramp

primary
#7F540F
secondary
#3466B5
accent
#7DF532
background
#FBF8F5
surface
#F6EFE9
border
#D0CAC5
text
#110A03
muted
#807C78

Preview Lab

Preview with #7F540F

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

Preview Lab → · Contrast checker → · Palette generator →

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