#7E772E#7E772E

#7E772E is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.094 H 103.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7E772E
RGBrgb(126, 119, 46)
HSLhsl(55, 47%, 34%)
HSVhsv(55, 63%, 49%)
CMYKcmyk(0%, 5.6%, 63.5%, 50.6%)
CIE-LABlab(49.29, -7.09, 40.01)
CIE-LCHlch(49.29, 40.63, 100.06°)
OKLaboklab(56.04% -0.0226 0.0916)
OKLCHoklch(56.04% 0.094 103.8)
XYZxyz(15.6947, 17.8271, 5.1985)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E772E #2E357E
analogous
#7E4F2E #7E772E #5D7E2E
triadic
#7E772E #2E7E77 #772E7E
tetradic
#7E772E #2E7E4F #2E357E #7E2E5D
square
#7E772E #2E7E4F #2E357E #7E2E5D
split-complementary
#7E772E #2E5D7E #4F2E7E
monochromatic
#24220D #514D1E #7E772E #ABA13E #C5BD61

Accessibility & contrast

On white

4.60
#7E772E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7E772E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E772E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E772E#FFFFFF#000000##FFFFFF
##7E772E1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#876F67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e772e;
/* rgb */ color: rgb(126, 119, 46);
/* oklch */ color: oklch(56.0% 0.094 103.8);
Tailwind
colors: {
  custom: {
    50: '#a69e6a',
    500: '#7e772e',
    950: '#000000',
  },
}
SCSS
$custom: #7e772e;
$custom-light: #a69e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e772e",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 46
  },
  "hsl": {
    "h": 54.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56037,
    "c": 0.09431,
    "h": 103.8
  },
  "luminance": 0.17827
}

Semantic roles & 50–950 ramp

primary
#7E772E
secondary
#5C63AC
accent
#5DD652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7E772E

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

Preview Lab → · Contrast checker → · Palette generator →

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