#7E6517#7E6517

#7E6517 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.8% C 0.097 H 89.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7E6517
RGBrgb(126, 101, 23)
HSLhsl(45, 69%, 29%)
HSVhsv(45, 82%, 49%)
CMYKcmyk(0%, 19.8%, 81.7%, 50.6%)
CIE-LABlab(43.95, 1.90, 44.55)
CIE-LCHlch(43.95, 44.60, 87.56°)
OKLaboklab(51.76% 0.0003 0.0968)
OKLCHoklch(51.76% 0.097 89.8)
XYZxyz(13.4133, 13.8057, 2.7687)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6517 #17307E
analogous
#7E3217 #7E6517 #647E17
triadic
#7E6517 #177E65 #65177E
tetradic
#7E6517 #177E32 #17307E #7E1764
square
#7E6517 #177E32 #17307E #7E1764
split-complementary
#7E6517 #17647E #32177E
monochromatic
#1A1505 #4A3C0E #7E6517 #B28E20 #DAB235

Accessibility & contrast

On white

5.58
#7E6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E6517
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6517#FFFFFF#000000##FFFFFF
##7E65171.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#895C56
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e6517;
/* rgb */ color: rgb(126, 101, 23);
/* oklch */ color: oklch(51.8% 0.097 89.8);
Tailwind
colors: {
  custom: {
    50: '#a7905b',
    500: '#7e6517',
    950: '#000000',
  },
}
SCSS
$custom: #7e6517;
$custom-light: #a7905b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6517",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 45.437,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51758,
    "c": 0.0968,
    "h": 89.8
  },
  "luminance": 0.13805
}

Semantic roles & 50–950 ramp

primary
#7E6517
secondary
#3E5AB3
accent
#67EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6517

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

Preview Lab → · Contrast checker → · Palette generator →

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