#7E681C#7E681C

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

Color values

HEX#7E681C
RGBrgb(126, 104, 28)
HSLhsl(47, 64%, 30%)
HSVhsv(47, 78%, 49%)
CMYKcmyk(0%, 17.5%, 77.8%, 50.6%)
CIE-LABlab(44.83, 0.37, 43.44)
CIE-LCHlch(44.83, 43.44, 89.51°)
OKLaboklab(52.46% -0.0035 0.0955)
OKLCHoklch(52.46% 0.096 92.1)
XYZxyz(13.7649, 14.4209, 3.1569)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E681C #1C327E
analogous
#7E371C #7E681C #637E1C
triadic
#7E681C #1C7E68 #681C7E
tetradic
#7E681C #1C7E37 #1C327E #7E1C63
square
#7E681C #1C7E37 #1C327E #7E1C63
split-complementary
#7E681C #1C637E #371C7E
monochromatic
#1A1506 #4C3F11 #7E681C #B09127 #D5B340

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E681C#FFFFFF#000000##FFFFFF
##7E681C1.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)
#74660F
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#895F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e681c;
/* rgb */ color: rgb(126, 104, 28);
/* oklch */ color: oklch(52.5% 0.096 92.1);
Tailwind
colors: {
  custom: {
    50: '#a7925e',
    500: '#7e681c',
    950: '#000000',
  },
}
SCSS
$custom: #7e681c;
$custom-light: #a7925e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e681c",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 46.531,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.09559,
    "h": 92.1
  },
  "luminance": 0.1442
}

Semantic roles & 50–950 ramp

primary
#7E681C
secondary
#445DB2
accent
#66E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7E681C

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

Preview Lab → · Contrast checker → · Palette generator →

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