#7E681D#7E681D

#7E681D is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.5% C 0.095 H 91.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7E681D
RGBrgb(126, 104, 29)
HSLhsl(46, 63%, 30%)
HSVhsv(46, 77%, 49%)
CMYKcmyk(0%, 17.5%, 77%, 50.6%)
CIE-LABlab(44.84, 0.42, 43.04)
CIE-LCHlch(44.84, 43.04, 89.44°)
OKLaboklab(52.47% -0.0032 0.0949)
OKLCHoklch(52.47% 0.095 91.9)
XYZxyz(13.7770, 14.4258, 3.2210)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E681D #1D337E
analogous
#7E371D #7E681D #637E1D
triadic
#7E681D #1D7E68 #681D7E
tetradic
#7E681D #1D7E37 #1D337E #7E1D63
square
#7E681D #1D7E37 #1D337E #7E1D63
split-complementary
#7E681D #1D637E #371D7E
monochromatic
#1B1606 #4C3F12 #7E681D #B09128 #D3B242

Accessibility & contrast

On white

5.41
#7E681D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7E681D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E681D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E681D#FFFFFF#000000##FFFFFF
##7E681D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746611
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#895F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e681d;
/* rgb */ color: rgb(126, 104, 29);
/* oklch */ color: oklch(52.5% 0.095 91.9);
Tailwind
colors: {
  custom: {
    50: '#a7925f',
    500: '#7e681d',
    950: '#000000',
  },
}
SCSS
$custom: #7e681d;
$custom-light: #a7925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e681d",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 29
  },
  "hsl": {
    "h": 46.392,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.09494,
    "h": 91.9
  },
  "luminance": 0.14425
}

Semantic roles & 50–950 ramp

primary
#7E681D
secondary
#455EB1
accent
#67E642
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7E681D

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

Preview Lab → · Contrast checker → · Palette generator →

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