#7E6D13#7E6D13

#7E6D13 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.104 H 97.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7E6D13
RGBrgb(126, 109, 19)
HSLhsl(50, 74%, 28%)
HSVhsv(50, 85%, 49%)
CMYKcmyk(0%, 13.5%, 84.9%, 50.6%)
CIE-LABlab(46.21, -2.87, 47.90)
CIE-LCHlch(46.21, 47.99, 93.43°)
OKLaboklab(53.53% -0.0136 0.1031)
OKLCHoklch(53.53% 0.104 97.5)
XYZxyz(14.1911, 15.4207, 2.8450)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6D13 #13247E
analogous
#7E3713 #7E6D13 #597E13
triadic
#7E6D13 #137E6D #6D137E
tetradic
#7E6D13 #137E37 #13247E #7E1359
square
#7E6D13 #137E37 #13247E #7E1359
split-complementary
#7E6D13 #13597E #37137E
monochromatic
#1B1704 #493F0B #7E6D13 #B39B1B #DFC32C

Accessibility & contrast

On white

5.14
#7E6D13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7E6D13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6D13
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6D13#FFFFFF#000000##FFFFFF
##7E6D131.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7D701A
Tritanopia (blue-blind)
#89645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e6d13;
/* rgb */ color: rgb(126, 109, 19);
/* oklch */ color: oklch(53.5% 0.104 97.5);
Tailwind
colors: {
  custom: {
    50: '#a7965b',
    500: '#7e6d13',
    950: '#000000',
  },
}
SCSS
$custom: #7e6d13;
$custom-light: #a7965b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6d13",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 19
  },
  "hsl": {
    "h": 50.467,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53531,
    "c": 0.10403,
    "h": 97.5
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#7E6D13
secondary
#394DB4
accent
#55F037
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6D13

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

Preview Lab → · Contrast checker → · Palette generator →

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