#7E6716#7E6716

#7E6716 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.2% C 0.098 H 91.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7E6716
RGBrgb(126, 103, 22)
HSLhsl(47, 70%, 29%)
HSVhsv(47, 83%, 49%)
CMYKcmyk(0%, 18.3%, 82.5%, 50.6%)
CIE-LABlab(44.51, 0.70, 45.42)
CIE-LCHlch(44.51, 45.42, 89.12°)
OKLaboklab(52.2% -0.0032 0.0984)
OKLCHoklch(52.2% 0.098 91.9)
XYZxyz(13.6001, 14.1949, 2.7825)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6716 #162D7E
analogous
#7E3316 #7E6716 #617E16
triadic
#7E6716 #167E67 #67167E
tetradic
#7E6716 #167E33 #162D7E #7E1661
square
#7E6716 #167E33 #162D7E #7E1661
split-complementary
#7E6716 #16617E #33167E
monochromatic
#1A1505 #4A3C0D #7E6716 #B2921F #DBB633

Accessibility & contrast

On white

5.47
#7E6716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7E6716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6716
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6716#FFFFFF#000000##FFFFFF
##7E67161.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#796C1B
Tritanopia (blue-blind)
#895E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e6716;
/* rgb */ color: rgb(126, 103, 22);
/* oklch */ color: oklch(52.2% 0.098 91.9);
Tailwind
colors: {
  custom: {
    50: '#a7925b',
    500: '#7e6716',
    950: '#000000',
  },
}
SCSS
$custom: #7e6716;
$custom-light: #a7925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6716",
  "rgb": {
    "r": 126,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 46.731,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.09848,
    "h": 91.9
  },
  "luminance": 0.14194
}

Semantic roles & 50–950 ramp

primary
#7E6716
secondary
#3D57B3
accent
#62ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6716

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

Preview Lab → · Contrast checker → · Palette generator →

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