#7E6212#7E6212

#7E6212 is a mid, moderate orange. Relative luminance 0.132; OKLCH L 51.1% C 0.098 H 87.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7E6212
RGBrgb(126, 98, 18)
HSLhsl(44, 75%, 28%)
HSVhsv(44, 86%, 49%)
CMYKcmyk(0%, 22.2%, 85.7%, 50.6%)
CIE-LABlab(43.09, 3.47, 45.53)
CIE-LCHlch(43.09, 45.67, 85.64°)
OKLaboklab(51.07% 0.0043 0.0977)
OKLCHoklch(51.07% 0.098 87.5)
XYZxyz(13.0819, 13.2156, 2.4340)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6212 #122E7E
analogous
#7E2C12 #7E6212 #647E12
triadic
#7E6212 #127E62 #62127E
tetradic
#7E6212 #127E2C #122E7E #7E1264
square
#7E6212 #127E2C #122E7E #7E1264
split-complementary
#7E6212 #12647E #2C127E
monochromatic
#1B1504 #48380A #7E6212 #B48C1A #E1B12A

Accessibility & contrast

On white

5.76
#7E6212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7E6212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6212
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6212#FFFFFF#000000##FFFFFF
##7E62121.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#766917
Tritanopia (blue-blind)
#895853
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e6212;
/* rgb */ color: rgb(126, 98, 18);
/* oklch */ color: oklch(51.1% 0.098 87.5);
Tailwind
colors: {
  custom: {
    50: '#a88e59',
    500: '#7e6212',
    950: '#000000',
  },
}
SCSS
$custom: #7e6212;
$custom-light: #a88e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6212",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 44.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.09784,
    "h": 87.5
  },
  "luminance": 0.13215
}

Semantic roles & 50–950 ramp

primary
#7E6212
secondary
#3858B4
accent
#67F236
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6212

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

Preview Lab → · Contrast checker → · Palette generator →

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