#7E6F2D#7E6F2D

#7E6F2D is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.088 H 96.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7E6F2D
RGBrgb(126, 111, 45)
HSLhsl(49, 47%, 34%)
HSVhsv(49, 64%, 49%)
CMYKcmyk(0%, 11.9%, 64.3%, 50.6%)
CIE-LABlab(46.97, -2.64, 37.95)
CIE-LCHlch(46.97, 38.04, 93.98°)
OKLaboklab(54.2% -0.0099 0.0871)
OKLCHoklch(54.2% 0.088 96.5)
XYZxyz(14.7629, 15.9947, 4.7918)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6F2D #2D3C7E
analogous
#7E462D #7E6F2D #647E2D
triadic
#7E6F2D #2D7E6F #6F2D7E
tetradic
#7E6F2D #2D7E46 #2D3C7E #7E2D64
square
#7E6F2D #2D7E46 #2D3C7E #7E2D64
split-complementary
#7E6F2D #2D647E #462D7E
monochromatic
#24200D #51471D #7E6F2D #AB973D #C6B35F

Accessibility & contrast

On white

5.00
#7E6F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7E6F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6F2D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6F2D#FFFFFF#000000##FFFFFF
##7E6F2D1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D26
Deuteranopia (green-blind)
#7E7130
Tritanopia (blue-blind)
#886761
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e6f2d;
/* rgb */ color: rgb(126, 111, 45);
/* oklch */ color: oklch(54.2% 0.088 96.5);
Tailwind
colors: {
  custom: {
    50: '#a69869',
    500: '#7e6f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e6f2d;
$custom-light: #a69869;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6f2d",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 48.889,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54195,
    "c": 0.08762,
    "h": 96.5
  },
  "luminance": 0.15994
}

Semantic roles & 50–950 ramp

primary
#7E6F2D
secondary
#5A6AAC
accent
#6AD751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7E6F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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