#7E6513#7E6513

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

Color values

HEX#7E6513
RGBrgb(126, 101, 19)
HSLhsl(46, 74%, 28%)
HSVhsv(46, 85%, 49%)
CMYKcmyk(0%, 19.8%, 84.9%, 50.6%)
CIE-LABlab(43.93, 1.75, 45.94)
CIE-LCHlch(43.93, 45.97, 87.82°)
OKLaboklab(51.73% -0.0005 0.0989)
OKLCHoklch(51.73% 0.099 90.3)
XYZxyz(13.3762, 13.7909, 2.5733)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6513 #132C7E
analogous
#7E2F13 #7E6513 #617E13
triadic
#7E6513 #137E65 #65137E
tetradic
#7E6513 #137E2F #132C7E #7E1361
square
#7E6513 #137E2F #132C7E #7E1361
split-complementary
#7E6513 #13617E #2F137E
monochromatic
#1B1504 #493A0B #7E6513 #B3901B #DFB52C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6513#FFFFFF#000000##FFFFFF
##7E65131.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)
#726400
Deuteranopia (green-blind)
#786B19
Tritanopia (blue-blind)
#895B56
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e6513;
/* rgb */ color: rgb(126, 101, 19);
/* oklch */ color: oklch(51.7% 0.099 90.3);
Tailwind
colors: {
  custom: {
    50: '#a79059',
    500: '#7e6513',
    950: '#000000',
  },
}
SCSS
$custom: #7e6513;
$custom-light: #a79059;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6513",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 19
  },
  "hsl": {
    "h": 45.981,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.09886,
    "h": 90.3
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

primary
#7E6513
secondary
#3956B4
accent
#63F037
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6513

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

Preview Lab → · Contrast checker → · Palette generator →

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