#7E772D#7E772D

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

Color values

HEX#7E772D
RGBrgb(126, 119, 45)
HSLhsl(55, 47%, 34%)
HSVhsv(55, 64%, 49%)
CMYKcmyk(0%, 5.6%, 64.3%, 50.6%)
CIE-LABlab(49.28, -7.17, 40.47)
CIE-LCHlch(49.28, 41.10, 100.04°)
OKLaboklab(56.03% -0.0229 0.0924)
OKLCHoklch(56.03% 0.095 103.9)
XYZxyz(15.6752, 17.8193, 5.0959)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E772D #2D347E
analogous
#7E4E2D #7E772D #5C7E2D
triadic
#7E772D #2D7E77 #772D7E
tetradic
#7E772D #2D7E4E #2D347E #7E2D5C
square
#7E772D #2D7E4E #2D347E #7E2D5C
split-complementary
#7E772D #2D5C7E #4E2D7E
monochromatic
#24220D #514C1D #7E772D #ABA23D #C6BD5F

Accessibility & contrast

On white

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

On black

4.56
#7E772D on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E772D#FFFFFF#000000##FFFFFF
##7E772D1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e772d;
/* rgb */ color: rgb(126, 119, 45);
/* oklch */ color: oklch(56.0% 0.095 103.9);
Tailwind
colors: {
  custom: {
    50: '#a69e69',
    500: '#7e772d',
    950: '#000000',
  },
}
SCSS
$custom: #7e772d;
$custom-light: #a69e69;
$custom-dark: #000000;
JSON
{
  "hex": "#7e772d",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 54.815,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56026,
    "c": 0.09519,
    "h": 103.9
  },
  "luminance": 0.17819
}

Semantic roles & 50–950 ramp

primary
#7E772D
secondary
#5A61AC
accent
#5CD751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E772D

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

Preview Lab → · Contrast checker → · Palette generator →

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