#7E6022#7E6022

#7E6022 is a mid, moderate orange. Relative luminance 0.129; OKLCH L 50.7% C 0.087 H 82.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7E6022
RGBrgb(126, 96, 34)
HSLhsl(40, 58%, 31%)
HSVhsv(40, 73%, 49%)
CMYKcmyk(0%, 23.8%, 73%, 50.6%)
CIE-LABlab(42.64, 5.37, 38.63)
CIE-LCHlch(42.64, 39.01, 82.09°)
OKLaboklab(50.75% 0.0117 0.0866)
OKLCHoklch(50.75% 0.087 82.3)
XYZxyz(13.0766, 12.9178, 3.3177)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6022 #22407E
analogous
#7E3222 #7E6022 #6E7E22
triadic
#7E6022 #227E60 #60227E
tetradic
#7E6022 #227E32 #22407E #7E226E
square
#7E6022 #227E32 #22407E #7E226E
split-complementary
#7E6022 #226E7E #32227E
monochromatic
#1E1708 #4E3B15 #7E6022 #AE852F #CFA44C

Accessibility & contrast

On white

5.86
#7E6022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7E6022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6022
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6022#FFFFFF#000000##FFFFFF
##7E60221.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D601A
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#895753
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7e6022;
/* rgb */ color: rgb(126, 96, 34);
/* oklch */ color: oklch(50.7% 0.087 82.3);
Tailwind
colors: {
  custom: {
    50: '#a78c61',
    500: '#7e6022',
    950: '#000000',
  },
}
SCSS
$custom: #7e6022;
$custom-light: #a78c61;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6022",
  "rgb": {
    "r": 126,
    "g": 96,
    "b": 34
  },
  "hsl": {
    "h": 40.435,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5075,
    "c": 0.08737,
    "h": 82.3
  },
  "luminance": 0.12917
}

Semantic roles & 50–950 ramp

primary
#7E6022
secondary
#4B6CB1
accent
#79E147
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7E6022

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

Preview Lab → · Contrast checker → · Palette generator →

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