#7E6E1D#7E6E1D

#7E6E1D is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.099 H 97.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7E6E1D
RGBrgb(126, 110, 29)
HSLhsl(50, 63%, 30%)
HSVhsv(50, 77%, 49%)
CMYKcmyk(0%, 12.7%, 77%, 50.6%)
CIE-LABlab(46.55, -3.04, 44.68)
CIE-LCHlch(46.55, 44.78, 93.89°)
OKLaboklab(53.82% -0.0131 0.0984)
OKLCHoklch(53.82% 0.099 97.6)
XYZxyz(14.4026, 15.6769, 3.4295)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E1D #1D2D7E
analogous
#7E3D1D #7E6E1D #5D7E1D
triadic
#7E6E1D #1D7E6E #6E1D7E
tetradic
#7E6E1D #1D7E3D #1D2D7E #7E1D5D
square
#7E6E1D #1D7E3D #1D2D7E #7E1D5D
split-complementary
#7E6E1D #1D5D7E #3D1D7E
monochromatic
#1B1706 #4C4312 #7E6E1D #B09928 #D3BB42

Accessibility & contrast

On white

5.08
#7E6E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7E6E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6E1D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6E1D#FFFFFF#000000##FFFFFF
##7E6E1D1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0F
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#88655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e6e1d;
/* rgb */ color: rgb(126, 110, 29);
/* oklch */ color: oklch(53.8% 0.099 97.6);
Tailwind
colors: {
  custom: {
    50: '#a7975f',
    500: '#7e6e1d',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e1d;
$custom-light: #a7975f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e1d",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 29
  },
  "hsl": {
    "h": 50.103,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.09924,
    "h": 97.6
  },
  "luminance": 0.15676
}

Semantic roles & 50–950 ramp

primary
#7E6E1D
secondary
#4557B1
accent
#5DE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E6E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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