#7E681A#7E681A

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

Color values

HEX#7E681A
RGBrgb(126, 104, 26)
HSLhsl(47, 66%, 30%)
HSVhsv(47, 79%, 49%)
CMYKcmyk(0%, 17.5%, 79.4%, 50.6%)
CIE-LABlab(44.82, 0.28, 44.22)
CIE-LCHlch(44.82, 44.22, 89.64°)
OKLaboklab(52.45% -0.004 0.0968)
OKLCHoklch(52.45% 0.097 92.3)
XYZxyz(13.7417, 14.4117, 3.0350)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E681A #1A307E
analogous
#7E361A #7E681A #627E1A
triadic
#7E681A #1A7E68 #681A7E
tetradic
#7E681A #1A7E36 #1A307E #7E1A62
square
#7E681A #1A7E36 #1A307E #7E1A62
split-complementary
#7E681A #1A627E #361A7E
monochromatic
#191505 #4B3E10 #7E681A #B19224 #D7B53C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E681A#FFFFFF#000000##FFFFFF
##7E681A1.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)
#74660B
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#895F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e681a;
/* rgb */ color: rgb(126, 104, 26);
/* oklch */ color: oklch(52.4% 0.097 92.3);
Tailwind
colors: {
  custom: {
    50: '#a7925d',
    500: '#7e681a',
    950: '#000000',
  },
}
SCSS
$custom: #7e681a;
$custom-light: #a7925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e681a",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 26
  },
  "hsl": {
    "h": 46.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52445,
    "c": 0.09683,
    "h": 92.3
  },
  "luminance": 0.14411
}

Semantic roles & 50–950 ramp

primary
#7E681A
secondary
#425AB2
accent
#64E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7E681A

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

Preview Lab → · Contrast checker → · Palette generator →

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