#7E681E#7E681E

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

Color values

HEX#7E681E
RGBrgb(126, 104, 30)
HSLhsl(46, 62%, 31%)
HSVhsv(46, 76%, 49%)
CMYKcmyk(0%, 17.5%, 76.2%, 50.6%)
CIE-LABlab(44.84, 0.47, 42.63)
CIE-LCHlch(44.84, 42.63, 89.37°)
OKLaboklab(52.48% -0.0029 0.0942)
OKLCHoklch(52.48% 0.094 91.8)
XYZxyz(13.7896, 14.4308, 3.2872)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E681E #1E347E
analogous
#7E381E #7E681E #647E1E
triadic
#7E681E #1E7E68 #681E7E
tetradic
#7E681E #1E7E38 #1E347E #7E1E64
square
#7E681E #1E7E38 #1E347E #7E1E64
split-complementary
#7E681E #1E647E #381E7E
monochromatic
#1B1606 #4D3F12 #7E681E #AF912A #D2B244

Accessibility & contrast

On white

5.40
#7E681E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7E681E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E681E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E681E#FFFFFF#000000##FFFFFF
##7E681E1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746612
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#895F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e681e;
/* rgb */ color: rgb(126, 104, 30);
/* oklch */ color: oklch(52.5% 0.094 91.8);
Tailwind
colors: {
  custom: {
    50: '#a7925f',
    500: '#7e681e',
    950: '#000000',
  },
}
SCSS
$custom: #7e681e;
$custom-light: #a7925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e681e",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 30
  },
  "hsl": {
    "h": 46.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52475,
    "c": 0.09429,
    "h": 91.8
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#7E681E
secondary
#475FB1
accent
#68E543
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7E681E

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

Preview Lab → · Contrast checker → · Palette generator →

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