#7F5215#7F5215

#7F5215 is a mid, moderate orange. Relative luminance 0.106; OKLCH L 47.8% C 0.094 H 69.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7F5215
RGBrgb(127, 82, 21)
HSLhsl(35, 72%, 29%)
HSVhsv(35, 83%, 50%)
CMYKcmyk(0%, 35.4%, 83.5%, 50.2%)
CIE-LABlab(38.90, 13.53, 40.78)
CIE-LCHlch(38.90, 42.97, 71.64°)
OKLaboklab(47.83% 0.0337 0.0881)
OKLCHoklch(47.83% 0.094 69.1)
XYZxyz(11.9060, 10.6019, 2.1287)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5215 #15427F
analogous
#7F1D15 #7F5215 #777F15
triadic
#7F5215 #157F52 #52157F
tetradic
#7F5215 #157F1D #15427F #7F1577
square
#7F5215 #157F1D #15427F #7F1577
split-complementary
#7F5215 #15777F #1D157F
monochromatic
#1A1104 #4A300C #7F5215 #B4741E #DD9431

Accessibility & contrast

On white

6.73
#7F5215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7F5215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5215
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5215#FFFFFF#000000##FFFFFF
##7F52151.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550A
Deuteranopia (green-blind)
#6C6017
Tritanopia (blue-blind)
#8B4746
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f5215;
/* rgb */ color: rgb(127, 82, 21);
/* oklch */ color: oklch(47.8% 0.094 69.1);
Tailwind
colors: {
  custom: {
    50: '#a98258',
    500: '#7f5215',
    950: '#000000',
  },
}
SCSS
$custom: #7f5215;
$custom-light: #a98258;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5215",
  "rgb": {
    "r": 127,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 34.528,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47826,
    "c": 0.0943,
    "h": 69.1
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

primary
#7F5215
secondary
#3C6FB4
accent
#86EE39
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110A03
muted
#807C78

Preview Lab

Preview with #7F5215

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

Preview Lab → · Contrast checker → · Palette generator →

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