#7E6E2A#7E6E2A

#7E6E2A is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.9% C 0.089 H 96.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7E6E2A
RGBrgb(126, 110, 42)
HSLhsl(49, 50%, 33%)
HSVhsv(49, 67%, 49%)
CMYKcmyk(0%, 12.7%, 66.7%, 50.6%)
CIE-LABlab(46.65, -2.28, 39.07)
CIE-LCHlch(46.65, 39.13, 93.34°)
OKLaboklab(53.94% -0.0093 0.089)
OKLCHoklch(53.94% 0.089 96)
XYZxyz(14.5987, 15.7554, 4.4622)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E2A #2A3A7E
analogous
#7E442A #7E6E2A #647E2A
triadic
#7E6E2A #2A7E6E #6E2A7E
tetradic
#7E6E2A #2A7E44 #2A3A7E #7E2A64
square
#7E6E2A #2A7E44 #2A3A7E #7E2A64
split-complementary
#7E6E2A #2A647E #442A7E
monochromatic
#221E0B #50461B #7E6E2A #AC9639 #C8B35A

Accessibility & contrast

On white

5.06
#7E6E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7E6E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6E2A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6E2A#FFFFFF#000000##FFFFFF
##7E6E2A1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C22
Deuteranopia (green-blind)
#7D712D
Tritanopia (blue-blind)
#886660
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e6e2a;
/* rgb */ color: rgb(126, 110, 42);
/* oklch */ color: oklch(53.9% 0.089 96.0);
Tailwind
colors: {
  custom: {
    50: '#a69767',
    500: '#7e6e2a',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e2a;
$custom-light: #a69767;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e2a",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 42
  },
  "hsl": {
    "h": 48.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53935,
    "c": 0.08944,
    "h": 96
  },
  "luminance": 0.15755
}

Semantic roles & 50–950 ramp

primary
#7E6E2A
secondary
#5667AE
accent
#69DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7E6E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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