#7E6C16#7E6C16

#7E6C16 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.3% C 0.102 H 96.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7E6C16
RGBrgb(126, 108, 22)
HSLhsl(50, 70%, 29%)
HSVhsv(50, 83%, 49%)
CMYKcmyk(0%, 14.3%, 82.5%, 50.6%)
CIE-LABlab(45.93, -2.19, 46.69)
CIE-LCHlch(45.93, 46.74, 92.69°)
OKLaboklab(53.32% -0.0114 0.1012)
OKLCHoklch(53.32% 0.102 96.4)
XYZxyz(14.1123, 15.2195, 2.9532)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6C16 #16287E
analogous
#7E3816 #7E6C16 #5C7E16
triadic
#7E6C16 #167E6C #6C167E
tetradic
#7E6C16 #167E38 #16287E #7E165C
square
#7E6C16 #167E38 #16287E #7E165C
split-complementary
#7E6C16 #165C7E #38167E
monochromatic
#1A1605 #4A3F0D #7E6C16 #B2991F #DBBE33

Accessibility & contrast

On white

5.19
#7E6C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7E6C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6C16
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6C16#FFFFFF#000000##FFFFFF
##7E6C161.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786901
Deuteranopia (green-blind)
#7D6F1C
Tritanopia (blue-blind)
#89635C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e6c16;
/* rgb */ color: rgb(126, 108, 22);
/* oklch */ color: oklch(53.3% 0.102 96.4);
Tailwind
colors: {
  custom: {
    50: '#a7955c',
    500: '#7e6c16',
    950: '#000000',
  },
}
SCSS
$custom: #7e6c16;
$custom-light: #a7955c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6c16",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 49.615,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5332,
    "c": 0.10181,
    "h": 96.4
  },
  "luminance": 0.15219
}

Semantic roles & 50–950 ramp

primary
#7E6C16
secondary
#3D51B3
accent
#5AED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6C16

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

Preview Lab → · Contrast checker → · Palette generator →

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