#7E6414#7E6414

#7E6414 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.5% C 0.098 H 89.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7E6414
RGBrgb(126, 100, 20)
HSLhsl(45, 73%, 29%)
HSVhsv(45, 84%, 49%)
CMYKcmyk(0%, 20.6%, 84.1%, 50.6%)
CIE-LABlab(43.66, 2.37, 45.36)
CIE-LCHlch(43.66, 45.42, 87.01°)
OKLaboklab(51.52% 0.0014 0.0978)
OKLCHoklch(51.52% 0.098 89.2)
XYZxyz(13.2885, 13.6014, 2.5871)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6414 #142E7E
analogous
#7E2F14 #7E6414 #637E14
triadic
#7E6414 #147E64 #64147E
tetradic
#7E6414 #147E2F #142E7E #7E1463
square
#7E6414 #147E2F #142E7E #7E1463
split-complementary
#7E6414 #14637E #2F147E
monochromatic
#1A1504 #493A0C #7E6414 #B38E1C #DEB32E

Accessibility & contrast

On white

5.65
#7E6414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7E6414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6414
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6414#FFFFFF#000000##FFFFFF
##7E64141.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716301
Deuteranopia (green-blind)
#776A19
Tritanopia (blue-blind)
#895A55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e6414;
/* rgb */ color: rgb(126, 100, 20);
/* oklch */ color: oklch(51.5% 0.098 89.2);
Tailwind
colors: {
  custom: {
    50: '#a78f5a',
    500: '#7e6414',
    950: '#000000',
  },
}
SCSS
$custom: #7e6414;
$custom-light: #a78f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6414",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 20
  },
  "hsl": {
    "h": 45.283,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.09784,
    "h": 89.2
  },
  "luminance": 0.136
}

Semantic roles & 50–950 ramp

primary
#7E6414
secondary
#3A58B3
accent
#65EF38
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6414

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

Preview Lab → · Contrast checker → · Palette generator →

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