#7E6416#7E6416

#7E6416 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.5% C 0.097 H 88.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7E6416
RGBrgb(126, 100, 22)
HSLhsl(45, 70%, 29%)
HSVhsv(45, 83%, 49%)
CMYKcmyk(0%, 20.6%, 82.5%, 50.6%)
CIE-LABlab(43.67, 2.44, 44.66)
CIE-LCHlch(43.67, 44.73, 86.87°)
OKLaboklab(51.53% 0.0018 0.0968)
OKLCHoklch(51.53% 0.097 88.9)
XYZxyz(13.3070, 13.6088, 2.6848)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6416 #16307E
analogous
#7E3016 #7E6416 #647E16
triadic
#7E6416 #167E64 #64167E
tetradic
#7E6416 #167E30 #16307E #7E1664
square
#7E6416 #167E30 #16307E #7E1664
split-complementary
#7E6416 #16647E #30167E
monochromatic
#1A1505 #4A3B0D #7E6416 #B28D1F #DBB133

Accessibility & contrast

On white

5.64
#7E6416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7E6416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6416
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6416#FFFFFF#000000##FFFFFF
##7E64161.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#776A1B
Tritanopia (blue-blind)
#895B55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e6416;
/* rgb */ color: rgb(126, 100, 22);
/* oklch */ color: oklch(51.5% 0.097 88.9);
Tailwind
colors: {
  custom: {
    50: '#a78f5b',
    500: '#7e6416',
    950: '#000000',
  },
}
SCSS
$custom: #7e6416;
$custom-light: #a78f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6416",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 22
  },
  "hsl": {
    "h": 45,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.09682,
    "h": 88.9
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#7E6416
secondary
#3D5AB3
accent
#67ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6416

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

Preview Lab → · Contrast checker → · Palette generator →

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