#7E6713#7E6713

#7E6713 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.2% C 0.100 H 92.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7E6713
RGBrgb(126, 103, 19)
HSLhsl(47, 74%, 28%)
HSVhsv(47, 85%, 49%)
CMYKcmyk(0%, 18.3%, 84.9%, 50.6%)
CIE-LABlab(44.50, 0.59, 46.42)
CIE-LCHlch(44.50, 46.43, 89.28°)
OKLaboklab(52.18% -0.0038 0.0999)
OKLCHoklch(52.18% 0.1 92.2)
XYZxyz(13.5728, 14.1840, 2.6389)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6713 #132A7E
analogous
#7E3113 #7E6713 #5F7E13
triadic
#7E6713 #137E67 #67137E
tetradic
#7E6713 #137E31 #132A7E #7E135F
square
#7E6713 #137E31 #132A7E #7E135F
split-complementary
#7E6713 #135F7E #31137E
monochromatic
#1B1604 #493C0B #7E6713 #B3921B #DFB92C

Accessibility & contrast

On white

5.47
#7E6713 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7E6713 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6713
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6713#FFFFFF#000000##FFFFFF
##7E67131.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#796C19
Tritanopia (blue-blind)
#895E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e6713;
/* rgb */ color: rgb(126, 103, 19);
/* oklch */ color: oklch(52.2% 0.100 92.2);
Tailwind
colors: {
  custom: {
    50: '#a7925a',
    500: '#7e6713',
    950: '#000000',
  },
}
SCSS
$custom: #7e6713;
$custom-light: #a7925a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6713",
  "rgb": {
    "r": 126,
    "g": 103,
    "b": 19
  },
  "hsl": {
    "h": 47.103,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52179,
    "c": 0.09999,
    "h": 92.2
  },
  "luminance": 0.14183
}

Semantic roles & 50–950 ramp

primary
#7E6713
secondary
#3954B4
accent
#5FF037
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6713

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

Preview Lab → · Contrast checker → · Palette generator →

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