#7E6514#7E6514

#7E6514 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.7% C 0.098 H 90.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7E6514
RGBrgb(126, 101, 20)
HSLhsl(46, 73%, 29%)
HSVhsv(46, 84%, 49%)
CMYKcmyk(0%, 19.8%, 84.1%, 50.6%)
CIE-LABlab(43.94, 1.79, 45.60)
CIE-LCHlch(43.94, 45.64, 87.76°)
OKLaboklab(51.74% -0.0003 0.0984)
OKLCHoklch(51.74% 0.098 90.2)
XYZxyz(13.3850, 13.7944, 2.6193)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6514 #142D7E
analogous
#7E3014 #7E6514 #627E14
triadic
#7E6514 #147E65 #65147E
tetradic
#7E6514 #147E30 #142D7E #7E1462
square
#7E6514 #147E30 #142D7E #7E1462
split-complementary
#7E6514 #14627E #30147E
monochromatic
#1A1504 #493B0C #7E6514 #B38F1C #DEB52E

Accessibility & contrast

On white

5.59
#7E6514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7E6514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6514
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6514#FFFFFF#000000##FFFFFF
##7E65141.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#786B19
Tritanopia (blue-blind)
#895B56
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e6514;
/* rgb */ color: rgb(126, 101, 20);
/* oklch */ color: oklch(51.7% 0.098 90.2);
Tailwind
colors: {
  custom: {
    50: '#a7905a',
    500: '#7e6514',
    950: '#000000',
  },
}
SCSS
$custom: #7e6514;
$custom-light: #a7905a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6514",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 20
  },
  "hsl": {
    "h": 45.849,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51739,
    "c": 0.09837,
    "h": 90.2
  },
  "luminance": 0.13793
}

Semantic roles & 50–950 ramp

primary
#7E6514
secondary
#3A57B3
accent
#64EF38
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6514

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

Preview Lab → · Contrast checker → · Palette generator →

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