#7F5E1B#7F5E1B

#7F5E1B is a mid, moderate orange. Relative luminance 0.126; OKLCH L 50.4% C 0.092 H 81.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7F5E1B
RGBrgb(127, 94, 27)
HSLhsl(40, 65%, 30%)
HSVhsv(40, 79%, 50%)
CMYKcmyk(0%, 26%, 78.7%, 50.2%)
CIE-LABlab(42.15, 6.66, 41.32)
CIE-LCHlch(42.15, 41.86, 80.84°)
OKLaboklab(50.38% 0.0144 0.0908)
OKLCHoklch(50.38% 0.092 81)
XYZxyz(12.9538, 12.5975, 2.7860)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5E1B #1B3C7F
analogous
#7F2C1B #7F5E1B #6E7F1B
triadic
#7F5E1B #1B7F5E #5E1B7F
tetradic
#7F5E1B #1B7F2C #1B3C7F #7F1B6E
square
#7F5E1B #1B7F2C #1B3C7F #7F1B6E
split-complementary
#7F5E1B #1B6E7F #2C1B7F
monochromatic
#1A1306 #4D3910 #7F5E1B #B18326 #D6A43E

Accessibility & contrast

On white

5.97
#7F5E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7F5E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5E1B
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5E1B#FFFFFF#000000##FFFFFF
##7F5E1B1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F10
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#8A5451
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f5e1b;
/* rgb */ color: rgb(127, 94, 27);
/* oklch */ color: oklch(50.4% 0.092 81.0);
Tailwind
colors: {
  custom: {
    50: '#a88b5d',
    500: '#7f5e1b',
    950: '#000000',
  },
}
SCSS
$custom: #7f5e1b;
$custom-light: #a88b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5e1b",
  "rgb": {
    "r": 127,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 40.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50375,
    "c": 0.09189,
    "h": 81
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#7F5E1B
secondary
#4368B3
accent
#77E840
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F5E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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