#7E6E11#7E6E11

#7E6E11 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.106 H 98.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7E6E11
RGBrgb(126, 110, 17)
HSLhsl(51, 76%, 28%)
HSVhsv(51, 87%, 49%)
CMYKcmyk(0%, 12.7%, 86.5%, 50.6%)
CIE-LABlab(46.48, -3.51, 48.74)
CIE-LCHlch(46.48, 48.86, 94.11°)
OKLaboklab(53.75% -0.0155 0.1045)
OKLCHoklch(53.75% 0.106 98.5)
XYZxyz(14.2821, 15.6287, 2.7946)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E11 #11217E
analogous
#7E3811 #7E6E11 #577E11
triadic
#7E6E11 #117E6E #6E117E
tetradic
#7E6E11 #117E38 #11217E #7E1157
square
#7E6E11 #117E38 #11217E #7E1157
split-complementary
#7E6E11 #11577E #38117E
monochromatic
#1B1804 #483F0A #7E6E11 #B49D18 #E2C727

Accessibility & contrast

On white

5.09
#7E6E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7E6E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6E11
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6E11#FFFFFF#000000##FFFFFF
##7E6E111.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7E7019
Tritanopia (blue-blind)
#89655D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e6e11;
/* rgb */ color: rgb(126, 110, 17);
/* oklch */ color: oklch(53.7% 0.106 98.5);
Tailwind
colors: {
  custom: {
    50: '#a7975a',
    500: '#7e6e11',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e11;
$custom-light: #a7975a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e11",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 17
  },
  "hsl": {
    "h": 51.193,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.10568,
    "h": 98.5
  },
  "luminance": 0.15628
}

Semantic roles & 50–950 ramp

primary
#7E6E11
secondary
#3749B4
accent
#51F335
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6E11

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

Preview Lab → · Contrast checker → · Palette generator →

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