#7E742E#7E742E

#7E742E is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.091 H 101.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7E742E
RGBrgb(126, 116, 46)
HSLhsl(53, 47%, 34%)
HSVhsv(53, 63%, 49%)
CMYKcmyk(0%, 7.9%, 63.5%, 50.6%)
CIE-LABlab(48.42, -5.41, 39.06)
CIE-LCHlch(48.42, 39.43, 97.89°)
OKLaboklab(55.35% -0.0178 0.0896)
OKLCHoklch(55.35% 0.091 101.2)
XYZxyz(15.3433, 17.1243, 5.0813)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E742E #2E387E
analogous
#7E4C2E #7E742E #607E2E
triadic
#7E742E #2E7E74 #742E7E
tetradic
#7E742E #2E7E4C #2E387E #7E2E60
square
#7E742E #2E7E4C #2E387E #7E2E60
split-complementary
#7E742E #2E607E #4C2E7E
monochromatic
#24210D #514B1E #7E742E #AB9D3E #C5B961

Accessibility & contrast

On white

4.75
#7E742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7E742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E742E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E742E#FFFFFF#000000##FFFFFF
##7E742E1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7126
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#876C65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e742e;
/* rgb */ color: rgb(126, 116, 46);
/* oklch */ color: oklch(55.3% 0.091 101.2);
Tailwind
colors: {
  custom: {
    50: '#a69b6a',
    500: '#7e742e',
    950: '#000000',
  },
}
SCSS
$custom: #7e742e;
$custom-light: #a69b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e742e",
  "rgb": {
    "r": 126,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 52.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55346,
    "c": 0.09129,
    "h": 101.2
  },
  "luminance": 0.17124
}

Semantic roles & 50–950 ramp

primary
#7E742E
secondary
#5C66AC
accent
#62D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E742E

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

Preview Lab → · Contrast checker → · Palette generator →

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