#7F742E#7F742E

#7F742E is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.091 H 100.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7F742E
RGBrgb(127, 116, 46)
HSLhsl(52, 47%, 34%)
HSVhsv(52, 64%, 50%)
CMYKcmyk(0%, 8.7%, 63.8%, 50.2%)
CIE-LABlab(48.51, -4.95, 39.19)
CIE-LCHlch(48.51, 39.50, 97.20°)
OKLaboklab(55.45% -0.0165 0.0898)
OKLCHoklch(55.45% 0.091 100.4)
XYZxyz(15.4915, 17.2007, 5.0883)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F742E #2E397F
analogous
#7F4C2E #7F742E #627F2E
triadic
#7F742E #2E7F74 #742E7F
tetradic
#7F742E #2E7F4C #2E397F #7F2E62
square
#7F742E #2E7F4C #2E397F #7F2E62
split-complementary
#7F742E #2E627F #4C2E7F
monochromatic
#25220D #524B1E #7F742E #AC9D3E #C6B861

Accessibility & contrast

On white

4.73
#7F742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7F742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F742E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F742E#FFFFFF#000000##FFFFFF
##7F742E1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7126
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#886C65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f742e;
/* rgb */ color: rgb(127, 116, 46);
/* oklch */ color: oklch(55.4% 0.091 100.4);
Tailwind
colors: {
  custom: {
    50: '#a69b6a',
    500: '#7f742e',
    950: '#000000',
  },
}
SCSS
$custom: #7f742e;
$custom-light: #a69b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f742e",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 51.852,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55445,
    "c": 0.0913,
    "h": 100.4
  },
  "luminance": 0.172
}

Semantic roles & 50–950 ramp

primary
#7F742E
secondary
#5C67AD
accent
#63D651
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7F742E

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

Preview Lab → · Contrast checker → · Palette generator →

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