#7E6711#7E6711

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

Color values

HEX#7E6711
RGBrgb(126, 103, 17)
HSLhsl(47, 76%, 28%)
HSVhsv(47, 87%, 49%)
CMYKcmyk(0%, 18.3%, 86.5%, 50.6%)
CIE-LABlab(44.49, 0.52, 47.05)
CIE-LCHlch(44.49, 47.05, 89.36°)
OKLaboklab(52.17% -0.0042 0.1008)
OKLCHoklch(52.17% 0.101 92.4)
XYZxyz(13.5564, 14.1774, 2.5527)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6711 #11287E
analogous
#7E3011 #7E6711 #5F7E11
triadic
#7E6711 #117E67 #67117E
tetradic
#7E6711 #117E30 #11287E #7E115F
square
#7E6711 #117E30 #11287E #7E115F
split-complementary
#7E6711 #115F7E #30117E
monochromatic
#1B1604 #483B0A #7E6711 #B49318 #E2BB27

Accessibility & contrast

On white

5.48
#7E6711 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E6711
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6711#FFFFFF#000000##FFFFFF
##7E67111.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e6711;
/* rgb */ color: rgb(126, 103, 17);
/* oklch */ color: oklch(52.2% 0.101 92.4);
Tailwind
colors: {
  custom: {
    50: '#a79259',
    500: '#7e6711',
    950: '#000000',
  },
}
SCSS
$custom: #7e6711;
$custom-light: #a79259;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6711",
  "rgb": {
    "r": 126,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 47.339,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52169,
    "c": 0.10091,
    "h": 92.4
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#7E6711
secondary
#3751B4
accent
#5DF335
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6711

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

Preview Lab → · Contrast checker → · Palette generator →

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