#7E6519#7E6519

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

Color values

HEX#7E6519
RGBrgb(126, 101, 25)
HSLhsl(45, 67%, 30%)
HSVhsv(45, 80%, 49%)
CMYKcmyk(0%, 19.8%, 80.2%, 50.6%)
CIE-LABlab(43.97, 1.98, 43.81)
CIE-LCHlch(43.97, 43.85, 87.41°)
OKLaboklab(51.77% 0.0008 0.0957)
OKLCHoklch(51.77% 0.096 89.5)
XYZxyz(13.4341, 13.8140, 2.8783)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6519 #19327E
analogous
#7E3319 #7E6519 #647E19
triadic
#7E6519 #197E65 #65197E
tetradic
#7E6519 #197E33 #19327E #7E1964
square
#7E6519 #197E33 #19327E #7E1964
split-complementary
#7E6519 #19647E #33197E
monochromatic
#1A1405 #4B3C0F #7E6519 #B18E23 #D8B13A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6519#FFFFFF#000000##FFFFFF
##7E65191.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)
#72640A
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#895C56
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e6519;
/* rgb */ color: rgb(126, 101, 25);
/* oklch */ color: oklch(51.8% 0.096 89.5);
Tailwind
colors: {
  custom: {
    50: '#a7905c',
    500: '#7e6519',
    950: '#000000',
  },
}
SCSS
$custom: #7e6519;
$custom-light: #a7905c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6519",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 25
  },
  "hsl": {
    "h": 45.149,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51771,
    "c": 0.09566,
    "h": 89.5
  },
  "luminance": 0.13813
}

Semantic roles & 50–950 ramp

primary
#7E6519
secondary
#415DB2
accent
#69EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6519

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

Preview Lab → · Contrast checker → · Palette generator →

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