#7E6413#7E6413

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

Color values

HEX#7E6413
RGBrgb(126, 100, 19)
HSLhsl(45, 74%, 28%)
HSVhsv(45, 85%, 49%)
CMYKcmyk(0%, 20.6%, 84.9%, 50.6%)
CIE-LABlab(43.65, 2.33, 45.69)
CIE-LCHlch(43.65, 45.75, 87.07°)
OKLaboklab(51.51% 0.0012 0.0983)
OKLCHoklch(51.51% 0.098 89.3)
XYZxyz(13.2797, 13.5979, 2.5412)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6413 #132D7E
analogous
#7E2F13 #7E6413 #627E13
triadic
#7E6413 #137E64 #64137E
tetradic
#7E6413 #137E2F #132D7E #7E1362
square
#7E6413 #137E2F #132D7E #7E1362
split-complementary
#7E6413 #13627E #2F137E
monochromatic
#1B1504 #493A0B #7E6413 #B38E1B #DFB42C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6413#FFFFFF#000000##FFFFFF
##7E64131.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)
#716300
Deuteranopia (green-blind)
#776A18
Tritanopia (blue-blind)
#895A55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e6413;
/* rgb */ color: rgb(126, 100, 19);
/* oklch */ color: oklch(51.5% 0.098 89.3);
Tailwind
colors: {
  custom: {
    50: '#a78f59',
    500: '#7e6413',
    950: '#000000',
  },
}
SCSS
$custom: #7e6413;
$custom-light: #a78f59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6413",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 19
  },
  "hsl": {
    "h": 45.421,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51513,
    "c": 0.09833,
    "h": 89.3
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#7E6413
secondary
#3957B4
accent
#64F037
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6413

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

Preview Lab → · Contrast checker → · Palette generator →

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