#7E772F#7E772F

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

Color values

HEX#7E772F
RGBrgb(126, 119, 47)
HSLhsl(55, 46%, 34%)
HSVhsv(55, 63%, 49%)
CMYKcmyk(0%, 5.6%, 62.7%, 50.6%)
CIE-LABlab(49.30, -7.02, 39.54)
CIE-LCHlch(49.30, 40.16, 100.07°)
OKLaboklab(56.05% -0.0222 0.0907)
OKLCHoklch(56.05% 0.093 103.8)
XYZxyz(15.7147, 17.8351, 5.3035)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E772F #2F367E
analogous
#7E502F #7E772F #5E7E2F
triadic
#7E772F #2F7E77 #772F7E
tetradic
#7E772F #2F7E50 #2F367E #7E2F5E
square
#7E772F #2F7E50 #2F367E #7E2F5E
split-complementary
#7E772F #2F5E7E #502F7E
monochromatic
#25230E #514D1E #7E772F #ABA140 #C5BC63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E772F#FFFFFF#000000##FFFFFF
##7E772F1.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)
#817327
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#876F68
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e772f;
/* rgb */ color: rgb(126, 119, 47);
/* oklch */ color: oklch(56.0% 0.093 103.8);
Tailwind
colors: {
  custom: {
    50: '#a69e6b',
    500: '#7e772f',
    950: '#000000',
  },
}
SCSS
$custom: #7e772f;
$custom-light: #a69e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e772f",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 54.684,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56048,
    "c": 0.0934,
    "h": 103.8
  },
  "luminance": 0.17835
}

Semantic roles & 50–950 ramp

primary
#7E772F
secondary
#5D64AC
accent
#5ED552
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7E772F

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

Preview Lab → · Contrast checker → · Palette generator →

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