#7E6B2C#7E6B2C

#7E6B2C is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.3% C 0.085 H 92.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7E6B2C
RGBrgb(126, 107, 44)
HSLhsl(46, 48%, 33%)
HSVhsv(46, 65%, 49%)
CMYKcmyk(0%, 15.1%, 65.1%, 50.6%)
CIE-LABlab(45.82, -0.41, 37.18)
CIE-LCHlch(45.82, 37.18, 90.64°)
OKLaboklab(53.28% -0.0037 0.0853)
OKLCHoklch(53.28% 0.085 92.5)
XYZxyz(14.3172, 15.1336, 4.5493)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6B2C #2C3F7E
analogous
#7E422C #7E6B2C #687E2C
triadic
#7E6B2C #2C7E6B #6B2C7E
tetradic
#7E6B2C #2C7E42 #2C3F7E #7E2C68
square
#7E6B2C #2C7E42 #2C3F7E #7E2C68
split-complementary
#7E6B2C #2C687E #422C7E
monochromatic
#231E0C #51441C #7E6B2C #AB923C #C7AE5E

Accessibility & contrast

On white

5.22
#7E6B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7E6B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6B2C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6B2C#FFFFFF#000000##FFFFFF
##7E6B2C1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766925
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#88635D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e6b2c;
/* rgb */ color: rgb(126, 107, 44);
/* oklch */ color: oklch(53.3% 0.085 92.5);
Tailwind
colors: {
  custom: {
    50: '#a69568',
    500: '#7e6b2c',
    950: '#000000',
  },
}
SCSS
$custom: #7e6b2c;
$custom-light: #a69568;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6b2c",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 44
  },
  "hsl": {
    "h": 46.098,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.08533,
    "h": 92.5
  },
  "luminance": 0.15133
}

Semantic roles & 50–950 ramp

primary
#7E6B2C
secondary
#596CAD
accent
#6FD850
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7E6B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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