#7F5F12#7F5F12

#7F5F12 is a mid, moderate orange. Relative luminance 0.127; OKLCH L 50.5% C 0.097 H 83.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7F5F12
RGBrgb(127, 95, 18)
HSLhsl(42, 75%, 28%)
HSVhsv(42, 86%, 50%)
CMYKcmyk(0%, 25.2%, 85.8%, 50.2%)
CIE-LABlab(42.37, 5.72, 44.96)
CIE-LCHlch(42.37, 45.32, 82.75°)
OKLaboklab(50.53% 0.0107 0.0964)
OKLCHoklch(50.53% 0.097 83.7)
XYZxyz(12.9547, 12.7411, 2.3491)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5F12 #12327F
analogous
#7F2812 #7F5F12 #687F12
triadic
#7F5F12 #127F5F #5F127F
tetradic
#7F5F12 #127F28 #12327F #7F1268
square
#7F5F12 #127F28 #12327F #7F1268
split-complementary
#7F5F12 #12687F #28127F
monochromatic
#1B1404 #49370A #7F5F12 #B5871A #E1AB2B

Accessibility & contrast

On white

5.92
#7F5F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7F5F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5F12
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5F12#FFFFFF#000000##FFFFFF
##7F5F121.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#746716
Tritanopia (blue-blind)
#8B5551
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f5f12;
/* rgb */ color: rgb(127, 95, 18);
/* oklch */ color: oklch(50.5% 0.097 83.7);
Tailwind
colors: {
  custom: {
    50: '#a88c58',
    500: '#7f5f12',
    950: '#000000',
  },
}
SCSS
$custom: #7f5f12;
$custom-light: #a88c58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5f12",
  "rgb": {
    "r": 127,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 42.385,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5053,
    "c": 0.09702,
    "h": 83.7
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#7F5F12
secondary
#385DB5
accent
#6DF236
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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