#7E661D#7E661D

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

Color values

HEX#7E661D
RGBrgb(126, 102, 29)
HSLhsl(45, 63%, 30%)
HSVhsv(45, 77%, 49%)
CMYKcmyk(0%, 19%, 77%, 50.6%)
CIE-LABlab(44.27, 1.58, 42.49)
CIE-LCHlch(44.27, 42.52, 87.87°)
OKLaboklab(52.02% 0.0001 0.0937)
OKLCHoklch(52.02% 0.094 89.9)
XYZxyz(13.5781, 14.0279, 3.1547)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E661D #1D357E
analogous
#7E361D #7E661D #657E1D
triadic
#7E661D #1D7E66 #661D7E
tetradic
#7E661D #1D7E36 #1D357E #7E1D65
square
#7E661D #1D7E36 #1D357E #7E1D65
split-complementary
#7E661D #1D657E #361D7E
monochromatic
#1B1506 #4C3E12 #7E661D #B08E28 #D3AF42

Accessibility & contrast

On white

5.52
#7E661D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7E661D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E661D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E661D#FFFFFF#000000##FFFFFF
##7E661D1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726511
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#895D58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e661d;
/* rgb */ color: rgb(126, 102, 29);
/* oklch */ color: oklch(52.0% 0.094 89.9);
Tailwind
colors: {
  custom: {
    50: '#a7915f',
    500: '#7e661d',
    950: '#000000',
  },
}
SCSS
$custom: #7e661d;
$custom-light: #a7915f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e661d",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 29
  },
  "hsl": {
    "h": 45.155,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.09373,
    "h": 89.9
  },
  "luminance": 0.14027
}

Semantic roles & 50–950 ramp

primary
#7E661D
secondary
#4560B1
accent
#6BE642
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7E661D

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

Preview Lab → · Contrast checker → · Palette generator →

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