#7E6D11#7E6D11

#7E6D11 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.105 H 97.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7E6D11
RGBrgb(126, 109, 17)
HSLhsl(51, 76%, 28%)
HSVhsv(51, 87%, 49%)
CMYKcmyk(0%, 13.5%, 86.5%, 50.6%)
CIE-LABlab(46.20, -2.93, 48.49)
CIE-LCHlch(46.20, 48.58, 93.46°)
OKLaboklab(53.52% -0.0139 0.104)
OKLCHoklch(53.52% 0.105 97.6)
XYZxyz(14.1748, 15.4141, 2.7588)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6D11 #11227E
analogous
#7E3611 #7E6D11 #587E11
triadic
#7E6D11 #117E6D #6D117E
tetradic
#7E6D11 #117E36 #11227E #7E1158
square
#7E6D11 #117E36 #11227E #7E1158
split-complementary
#7E6D11 #11587E #36117E
monochromatic
#1B1704 #483E0A #7E6D11 #B49C18 #E2C527

Accessibility & contrast

On white

5.14
#7E6D11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7E6D11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6D11
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6D11#FFFFFF#000000##FFFFFF
##7E6D111.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7E7019
Tritanopia (blue-blind)
#89645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e6d11;
/* rgb */ color: rgb(126, 109, 17);
/* oklch */ color: oklch(53.5% 0.105 97.6);
Tailwind
colors: {
  custom: {
    50: '#a7965a',
    500: '#7e6d11',
    950: '#000000',
  },
}
SCSS
$custom: #7e6d11;
$custom-light: #a7965a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6d11",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 17
  },
  "hsl": {
    "h": 50.642,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53521,
    "c": 0.10492,
    "h": 97.6
  },
  "luminance": 0.15413
}

Semantic roles & 50–950 ramp

primary
#7E6D11
secondary
#374AB4
accent
#53F335
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6D11

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

Preview Lab → · Contrast checker → · Palette generator →

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