#7E6E1E#7E6E1E

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

Color values

HEX#7E6E1E
RGBrgb(126, 110, 30)
HSLhsl(50, 62%, 31%)
HSVhsv(50, 76%, 49%)
CMYKcmyk(0%, 12.7%, 76.2%, 50.6%)
CIE-LABlab(46.55, -2.99, 44.29)
CIE-LCHlch(46.55, 44.39, 93.86°)
OKLaboklab(53.83% -0.0128 0.0978)
OKLCHoklch(53.83% 0.099 97.5)
XYZxyz(14.4152, 15.6820, 3.4957)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E1E #1E2E7E
analogous
#7E3E1E #7E6E1E #5E7E1E
triadic
#7E6E1E #1E7E6E #6E1E7E
tetradic
#7E6E1E #1E7E3E #1E2E7E #7E1E5E
square
#7E6E1E #1E7E3E #1E2E7E #7E1E5E
split-complementary
#7E6E1E #1E5E7E #3E1E7E
monochromatic
#1B1806 #4D4312 #7E6E1E #AF992A #D2BB44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6E1E#FFFFFF#000000##FFFFFF
##7E6E1E1.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)
#7A6B10
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#88655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e6e1e;
/* rgb */ color: rgb(126, 110, 30);
/* oklch */ color: oklch(53.8% 0.099 97.5);
Tailwind
colors: {
  custom: {
    50: '#a79760',
    500: '#7e6e1e',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e1e;
$custom-light: #a79760;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e1e",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 30
  },
  "hsl": {
    "h": 50,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53827,
    "c": 0.0986,
    "h": 97.5
  },
  "luminance": 0.15681
}

Semantic roles & 50–950 ramp

primary
#7E6E1E
secondary
#4758B1
accent
#5EE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E6E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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