#7E6C13#7E6C13

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

Color values

HEX#7E6C13
RGBrgb(126, 108, 19)
HSLhsl(50, 74%, 28%)
HSVhsv(50, 85%, 49%)
CMYKcmyk(0%, 14.3%, 84.9%, 50.6%)
CIE-LABlab(45.92, -2.30, 47.66)
CIE-LCHlch(45.92, 47.71, 92.76°)
OKLaboklab(53.3% -0.012 0.1026)
OKLCHoklch(53.3% 0.103 96.7)
XYZxyz(14.0851, 15.2085, 2.8096)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6C13 #13257E
analogous
#7E3713 #7E6C13 #5A7E13
triadic
#7E6C13 #137E6C #6C137E
tetradic
#7E6C13 #137E37 #13257E #7E135A
square
#7E6C13 #137E37 #13257E #7E135A
split-complementary
#7E6C13 #135A7E #37137E
monochromatic
#1B1704 #493E0B #7E6C13 #B39A1B #DFC12C

Accessibility & contrast

On white

5.20
#7E6C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7E6C13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6C13
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6C13#FFFFFF#000000##FFFFFF
##7E6C131.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#7D6F1A
Tritanopia (blue-blind)
#89635C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e6c13;
/* rgb */ color: rgb(126, 108, 19);
/* oklch */ color: oklch(53.3% 0.103 96.7);
Tailwind
colors: {
  custom: {
    50: '#a7955b',
    500: '#7e6c13',
    950: '#000000',
  },
}
SCSS
$custom: #7e6c13;
$custom-light: #a7955b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6c13",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 19
  },
  "hsl": {
    "h": 49.907,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53304,
    "c": 0.1033,
    "h": 96.7
  },
  "luminance": 0.15208
}

Semantic roles & 50–950 ramp

primary
#7E6C13
secondary
#394EB4
accent
#56F037
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6C13

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

Preview Lab → · Contrast checker → · Palette generator →

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