#7E5F12#7E5F12

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

Color values

HEX#7E5F12
RGBrgb(126, 95, 18)
HSLhsl(43, 75%, 28%)
HSVhsv(43, 86%, 49%)
CMYKcmyk(0%, 24.6%, 85.7%, 50.6%)
CIE-LABlab(42.25, 5.24, 44.81)
CIE-LCHlch(42.25, 45.12, 83.33°)
OKLaboklab(50.41% 0.0094 0.0962)
OKLCHoklch(50.41% 0.097 84.4)
XYZxyz(12.8064, 12.6647, 2.3422)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5F12 #12317E
analogous
#7E2912 #7E5F12 #677E12
triadic
#7E5F12 #127E5F #5F127E
tetradic
#7E5F12 #127E29 #12317E #7E1267
square
#7E5F12 #127E29 #12317E #7E1267
split-complementary
#7E5F12 #12677E #29127E
monochromatic
#1B1404 #48370A #7E5F12 #B4871A #E1AC2A

Accessibility & contrast

On white

5.94
#7E5F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7E5F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5F12
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5F12#FFFFFF#000000##FFFFFF
##7E5F121.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#746717
Tritanopia (blue-blind)
#895551
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e5f12;
/* rgb */ color: rgb(126, 95, 18);
/* oklch */ color: oklch(50.4% 0.097 84.4);
Tailwind
colors: {
  custom: {
    50: '#a88c58',
    500: '#7e5f12',
    950: '#000000',
  },
}
SCSS
$custom: #7e5f12;
$custom-light: #a88c58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5f12",
  "rgb": {
    "r": 126,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 42.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.09663,
    "h": 84.4
  },
  "luminance": 0.12664
}

Semantic roles & 50–950 ramp

primary
#7E5F12
secondary
#385CB4
accent
#6CF236
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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