#7A772E#7A772E

#7A772E is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.095 H 106.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7A772E
RGBrgb(122, 119, 46)
HSLhsl(58, 45%, 33%)
HSVhsv(58, 62%, 48%)
CMYKcmyk(0%, 2.5%, 62.3%, 52.2%)
CIE-LABlab(48.92, -8.93, 39.50)
CIE-LCHlch(48.92, 40.50, 102.74°)
OKLaboklab(55.66% -0.0275 0.0906)
OKLCHoklch(55.66% 0.095 106.9)
XYZxyz(15.1165, 17.5290, 5.1714)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A772E #2E317A
analogous
#7A512E #7A772E #577A2E
triadic
#7A772E #2E7A77 #772E7A
tetradic
#7A772E #2E7A51 #2E317A #7A2E57
square
#7A772E #2E7A51 #2E317A #7A2E57
split-complementary
#7A772E #2E577A #512E7A
monochromatic
#21200C #4E4C1D #7A772E #A6A23F #C3BF60

Accessibility & contrast

On white

4.66
#7A772E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7A772E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A772E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A772E#FFFFFF#000000##FFFFFF
##7A772E1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#827632
Tritanopia (blue-blind)
#836F67
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a772e;
/* rgb */ color: rgb(122, 119, 46);
/* oklch */ color: oklch(55.7% 0.095 106.9);
Tailwind
colors: {
  custom: {
    50: '#a39e6a',
    500: '#7a772e',
    950: '#000000',
  },
}
SCSS
$custom: #7a772e;
$custom-light: #a39e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a772e",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 46
  },
  "hsl": {
    "h": 57.632,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55657,
    "c": 0.09468,
    "h": 106.9
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#7A772E
secondary
#5A5DAA
accent
#58D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7A772E

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

Preview Lab → · Contrast checker → · Palette generator →

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