#7E6516#7E6516

#7E6516 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.8% C 0.097 H 89.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7E6516
RGBrgb(126, 101, 22)
HSLhsl(46, 70%, 29%)
HSVhsv(46, 83%, 49%)
CMYKcmyk(0%, 19.8%, 82.5%, 50.6%)
CIE-LABlab(43.95, 1.86, 44.91)
CIE-LCHlch(43.95, 44.95, 87.63°)
OKLaboklab(51.75% 0.0001 0.0973)
OKLCHoklch(51.75% 0.097 89.9)
XYZxyz(13.4035, 13.8018, 2.7169)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6516 #162F7E
analogous
#7E3116 #7E6516 #637E16
triadic
#7E6516 #167E65 #65167E
tetradic
#7E6516 #167E31 #162F7E #7E1663
square
#7E6516 #167E31 #162F7E #7E1663
split-complementary
#7E6516 #16637E #31167E
monochromatic
#1A1505 #4A3B0D #7E6516 #B28F1F #DBB333

Accessibility & contrast

On white

5.58
#7E6516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7E6516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6516
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6516#FFFFFF#000000##FFFFFF
##7E65161.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#895C56
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e6516;
/* rgb */ color: rgb(126, 101, 22);
/* oklch */ color: oklch(51.8% 0.097 89.9);
Tailwind
colors: {
  custom: {
    50: '#a7905b',
    500: '#7e6516',
    950: '#000000',
  },
}
SCSS
$custom: #7e6516;
$custom-light: #a7905b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6516",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 45.577,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51751,
    "c": 0.09734,
    "h": 89.9
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#7E6516
secondary
#3D59B3
accent
#66ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6516

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

Preview Lab → · Contrast checker → · Palette generator →

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