#7E6F1E#7E6F1E

#7E6F1E is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.099 H 98.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7E6F1E
RGBrgb(126, 111, 30)
HSLhsl(51, 62%, 31%)
HSVhsv(51, 76%, 49%)
CMYKcmyk(0%, 11.9%, 76.2%, 50.6%)
CIE-LABlab(46.84, -3.56, 44.56)
CIE-LCHlch(46.84, 44.71, 94.57°)
OKLaboklab(54.06% -0.0144 0.0983)
OKLCHoklch(54.06% 0.099 98.3)
XYZxyz(14.5237, 15.8990, 3.5318)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6F1E #1E2D7E
analogous
#7E3F1E #7E6F1E #5D7E1E
triadic
#7E6F1E #1E7E6F #6F1E7E
tetradic
#7E6F1E #1E7E3F #1E2D7E #7E1E5D
square
#7E6F1E #1E7E3F #1E2D7E #7E1E5D
split-complementary
#7E6F1E #1E5D7E #3F1E7E
monochromatic
#1B1806 #4D4312 #7E6F1E #AF9B2A #D2BC44

Accessibility & contrast

On white

5.02
#7E6F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7E6F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6F1E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6F1E#FFFFFF#000000##FFFFFF
##7E6F1E1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C10
Deuteranopia (green-blind)
#7F7123
Tritanopia (blue-blind)
#88665F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e6f1e;
/* rgb */ color: rgb(126, 111, 30);
/* oklch */ color: oklch(54.1% 0.099 98.3);
Tailwind
colors: {
  custom: {
    50: '#a79860',
    500: '#7e6f1e',
    950: '#000000',
  },
}
SCSS
$custom: #7e6f1e;
$custom-light: #a79860;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6f1e",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 50.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54055,
    "c": 0.09939,
    "h": 98.3
  },
  "luminance": 0.15898
}

Semantic roles & 50–950 ramp

primary
#7E6F1E
secondary
#4757B1
accent
#5CE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E6F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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