#7E6C11#7E6C11

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

Color values

HEX#7E6C11
RGBrgb(126, 108, 17)
HSLhsl(50, 76%, 28%)
HSVhsv(50, 87%, 49%)
CMYKcmyk(0%, 14.3%, 86.5%, 50.6%)
CIE-LABlab(45.91, -2.36, 48.25)
CIE-LCHlch(45.91, 48.31, 92.80°)
OKLaboklab(53.29% -0.0123 0.1035)
OKLCHoklch(53.29% 0.104 96.8)
XYZxyz(14.0687, 15.2020, 2.7235)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6C11 #11237E
analogous
#7E3611 #7E6C11 #597E11
triadic
#7E6C11 #117E6C #6C117E
tetradic
#7E6C11 #117E36 #11237E #7E1159
square
#7E6C11 #117E36 #11237E #7E1159
split-complementary
#7E6C11 #11597E #36117E
monochromatic
#1B1704 #483E0A #7E6C11 #B49A18 #E2C327

Accessibility & contrast

On white

5.20
#7E6C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E6C11
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6C11#FFFFFF#000000##FFFFFF
##7E6C111.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e6c11;
/* rgb */ color: rgb(126, 108, 17);
/* oklch */ color: oklch(53.3% 0.104 96.8);
Tailwind
colors: {
  custom: {
    50: '#a7955a',
    500: '#7e6c11',
    950: '#000000',
  },
}
SCSS
$custom: #7e6c11;
$custom-light: #a7955a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6c11",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 17
  },
  "hsl": {
    "h": 50.092,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53294,
    "c": 0.10419,
    "h": 96.8
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#7E6C11
secondary
#374BB4
accent
#54F335
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6C11

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

Preview Lab → · Contrast checker → · Palette generator →

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