#7E6616#7E6616

#7E6616 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 52.0% C 0.098 H 90.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7E6616
RGBrgb(126, 102, 22)
HSLhsl(46, 70%, 29%)
HSVhsv(46, 83%, 49%)
CMYKcmyk(0%, 19%, 82.5%, 50.6%)
CIE-LABlab(44.23, 1.28, 45.17)
CIE-LCHlch(44.23, 45.18, 88.38°)
OKLaboklab(51.97% -0.0015 0.0979)
OKLCHoklch(51.97% 0.098 90.9)
XYZxyz(13.5012, 13.9972, 2.7495)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6616 #162E7E
analogous
#7E3216 #7E6616 #627E16
triadic
#7E6616 #167E66 #66167E
tetradic
#7E6616 #167E32 #162E7E #7E1662
square
#7E6616 #167E32 #162E7E #7E1662
split-complementary
#7E6616 #16627E #32167E
monochromatic
#1A1505 #4A3C0D #7E6616 #B2901F #DBB533

Accessibility & contrast

On white

5.53
#7E6616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7E6616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6616
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6616#FFFFFF#000000##FFFFFF
##7E66161.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#895D57
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e6616;
/* rgb */ color: rgb(126, 102, 22);
/* oklch */ color: oklch(52.0% 0.098 90.9);
Tailwind
colors: {
  custom: {
    50: '#a7915b',
    500: '#7e6616',
    950: '#000000',
  },
}
SCSS
$custom: #7e6616;
$custom-light: #a7915b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6616",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 46.154,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.09789,
    "h": 90.9
  },
  "luminance": 0.13996
}

Semantic roles & 50–950 ramp

primary
#7E6616
secondary
#3D58B3
accent
#64ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6616

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

Preview Lab → · Contrast checker → · Palette generator →

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