#7E6C19#7E6C19

#7E6C19 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.3% C 0.100 H 96.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7E6C19
RGBrgb(126, 108, 25)
HSLhsl(49, 67%, 30%)
HSVhsv(49, 80%, 49%)
CMYKcmyk(0%, 14.3%, 80.2%, 50.6%)
CIE-LABlab(45.95, -2.07, 45.64)
CIE-LCHlch(45.95, 45.69, 92.60°)
OKLaboklab(53.34% -0.0107 0.0996)
OKLCHoklch(53.34% 0.1 96.2)
XYZxyz(14.1430, 15.2317, 3.1146)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6C19 #192B7E
analogous
#7E3A19 #7E6C19 #5E7E19
triadic
#7E6C19 #197E6C #6C197E
tetradic
#7E6C19 #197E3A #192B7E #7E195E
square
#7E6C19 #197E3A #192B7E #7E195E
split-complementary
#7E6C19 #195E7E #3A197E
monochromatic
#1A1605 #4B400F #7E6C19 #B19823 #D8BC3A

Accessibility & contrast

On white

5.19
#7E6C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7E6C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6C19
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6C19#FFFFFF#000000##FFFFFF
##7E6C191.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A07
Deuteranopia (green-blind)
#7D6F1F
Tritanopia (blue-blind)
#89635C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e6c19;
/* rgb */ color: rgb(126, 108, 25);
/* oklch */ color: oklch(53.3% 0.100 96.2);
Tailwind
colors: {
  custom: {
    50: '#a7955d',
    500: '#7e6c19',
    950: '#000000',
  },
}
SCSS
$custom: #7e6c19;
$custom-light: #a7955d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6c19",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 25
  },
  "hsl": {
    "h": 49.307,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53338,
    "c": 0.10016,
    "h": 96.2
  },
  "luminance": 0.15231
}

Semantic roles & 50–950 ramp

primary
#7E6C19
secondary
#4155B2
accent
#5DEA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E6C19

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

Preview Lab → · Contrast checker → · Palette generator →

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