#7E671C#7E671C

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

Color values

HEX#7E671C
RGBrgb(126, 103, 28)
HSLhsl(46, 64%, 30%)
HSVhsv(46, 78%, 49%)
CMYKcmyk(0%, 18.3%, 77.8%, 50.6%)
CIE-LABlab(44.55, 0.95, 43.17)
CIE-LCHlch(44.55, 43.18, 88.74°)
OKLaboklab(52.24% -0.0018 0.095)
OKLCHoklch(52.24% 0.095 91.1)
XYZxyz(13.6648, 14.2208, 3.1235)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E671C #1C337E
analogous
#7E361C #7E671C #647E1C
triadic
#7E671C #1C7E67 #671C7E
tetradic
#7E671C #1C7E36 #1C337E #7E1C64
square
#7E671C #1C7E36 #1C337E #7E1C64
split-complementary
#7E671C #1C647E #361C7E
monochromatic
#1A1506 #4C3E11 #7E671C #B09027 #D5B240

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E671C#FFFFFF#000000##FFFFFF
##7E671C1.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)
#73660F
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#895E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e671c;
/* rgb */ color: rgb(126, 103, 28);
/* oklch */ color: oklch(52.2% 0.095 91.1);
Tailwind
colors: {
  custom: {
    50: '#a7925e',
    500: '#7e671c',
    950: '#000000',
  },
}
SCSS
$custom: #7e671c;
$custom-light: #a7925e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e671c",
  "rgb": {
    "r": 126,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 45.918,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52237,
    "c": 0.09498,
    "h": 91.1
  },
  "luminance": 0.1422
}

Semantic roles & 50–950 ramp

primary
#7E671C
secondary
#445EB2
accent
#68E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7E671C

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

Preview Lab → · Contrast checker → · Palette generator →

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