#7D742E#7D742E

#7D742E is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.091 H 102.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7D742E
RGBrgb(125, 116, 46)
HSLhsl(53, 46%, 34%)
HSVhsv(53, 63%, 49%)
CMYKcmyk(0%, 7.2%, 63.2%, 51%)
CIE-LABlab(48.32, -5.87, 38.92)
CIE-LCHlch(48.32, 39.37, 98.58°)
OKLaboklab(55.25% -0.019 0.0893)
OKLCHoklch(55.25% 0.091 102)
XYZxyz(15.1965, 17.0486, 5.0745)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D742E #2E377D
analogous
#7D4C2E #7D742E #5E7D2E
triadic
#7D742E #2E7D74 #742E7D
tetradic
#7D742E #2E7D4C #2E377D #7D2E5E
square
#7D742E #2E7D4C #2E377D #7D2E5E
split-complementary
#7D742E #2E5E7D #4C2E7D
monochromatic
#24210D #504A1E #7D742E #AA9E3E #C5B961

Accessibility & contrast

On white

4.76
#7D742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7D742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D742E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D742E#FFFFFF#000000##FFFFFF
##7D742E1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#817432
Tritanopia (blue-blind)
#866C65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d742e;
/* rgb */ color: rgb(125, 116, 46);
/* oklch */ color: oklch(55.2% 0.091 102.0);
Tailwind
colors: {
  custom: {
    50: '#a59b6a',
    500: '#7d742e',
    950: '#000000',
  },
}
SCSS
$custom: #7d742e;
$custom-light: #a59b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d742e",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 53.165,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55248,
    "c": 0.09129,
    "h": 102
  },
  "luminance": 0.17048
}

Semantic roles & 50–950 ramp

primary
#7D742E
secondary
#5B65AB
accent
#61D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D742E

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

Preview Lab → · Contrast checker → · Palette generator →

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