#7E6613#7E6613

#7E6613 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 52.0% C 0.099 H 91.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7E6613
RGBrgb(126, 102, 19)
HSLhsl(47, 74%, 28%)
HSVhsv(47, 85%, 49%)
CMYKcmyk(0%, 19%, 84.9%, 50.6%)
CIE-LABlab(44.21, 1.17, 46.18)
CIE-LCHlch(44.21, 46.19, 88.55°)
OKLaboklab(51.96% -0.0021 0.0994)
OKLCHoklch(51.96% 0.099 91.2)
XYZxyz(13.4739, 13.9862, 2.6059)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6613 #132B7E
analogous
#7E3013 #7E6613 #607E13
triadic
#7E6613 #137E66 #66137E
tetradic
#7E6613 #137E30 #132B7E #7E1360
square
#7E6613 #137E30 #132B7E #7E1360
split-complementary
#7E6613 #13607E #30137E
monochromatic
#1B1604 #493B0B #7E6613 #B3911B #DFB72C

Accessibility & contrast

On white

5.53
#7E6613 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7E6613 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6613
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6613#FFFFFF#000000##FFFFFF
##7E66131.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#786B19
Tritanopia (blue-blind)
#895D57
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e6613;
/* rgb */ color: rgb(126, 102, 19);
/* oklch */ color: oklch(52.0% 0.099 91.2);
Tailwind
colors: {
  custom: {
    50: '#a7915a',
    500: '#7e6613',
    950: '#000000',
  },
}
SCSS
$custom: #7e6613;
$custom-light: #a7915a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6613",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 19
  },
  "hsl": {
    "h": 46.542,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.09941,
    "h": 91.2
  },
  "luminance": 0.13985
}

Semantic roles & 50–950 ramp

primary
#7E6613
secondary
#3955B4
accent
#61F037
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6613

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

Preview Lab → · Contrast checker → · Palette generator →

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