#7E671D#7E671D

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

Color values

HEX#7E671D
RGBrgb(126, 103, 29)
HSLhsl(46, 63%, 30%)
HSVhsv(46, 77%, 49%)
CMYKcmyk(0%, 18.3%, 77%, 50.6%)
CIE-LABlab(44.55, 1.00, 42.76)
CIE-LCHlch(44.55, 42.78, 88.66°)
OKLaboklab(52.24% -0.0015 0.0943)
OKLCHoklch(52.24% 0.094 90.9)
XYZxyz(13.6770, 14.2257, 3.1876)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E671D #1D347E
analogous
#7E361D #7E671D #647E1D
triadic
#7E671D #1D7E67 #671D7E
tetradic
#7E671D #1D7E36 #1D347E #7E1D64
square
#7E671D #1D7E36 #1D347E #7E1D64
split-complementary
#7E671D #1D647E #361D7E
monochromatic
#1B1606 #4C3E12 #7E671D #B09028 #D3B142

Accessibility & contrast

On white

5.46
#7E671D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E671D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E671D#FFFFFF#000000##FFFFFF
##7E671D1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e671d;
/* rgb */ color: rgb(126, 103, 29);
/* oklch */ color: oklch(52.2% 0.094 90.9);
Tailwind
colors: {
  custom: {
    50: '#a7925f',
    500: '#7e671d',
    950: '#000000',
  },
}
SCSS
$custom: #7e671d;
$custom-light: #a7925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e671d",
  "rgb": {
    "r": 126,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 45.773,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.09432,
    "h": 90.9
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#7E671D
secondary
#455FB1
accent
#69E642
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7E671D

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

Preview Lab → · Contrast checker → · Palette generator →

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