#7A772A#7A772A

#7A772A is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.098 H 107.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7A772A
RGBrgb(122, 119, 42)
HSLhsl(58, 49%, 32%)
HSVhsv(58, 66%, 48%)
CMYKcmyk(0%, 2.5%, 65.6%, 52.2%)
CIE-LABlab(48.88, -9.22, 41.34)
CIE-LCHlch(48.88, 42.35, 102.57°)
OKLaboklab(55.62% -0.0288 0.0939)
OKLCHoklch(55.62% 0.098 107.1)
XYZxyz(15.0413, 17.4989, 4.7753)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A772A #2A2D7A
analogous
#7A4F2A #7A772A #557A2A
triadic
#7A772A #2A7A77 #772A7A
tetradic
#7A772A #2A7A4F #2A2D7A #7A2A55
square
#7A772A #2A7A4F #2A2D7A #7A2A55
split-complementary
#7A772A #2A557A #4F2A7A
monochromatic
#1F1E0B #4C4B1A #7A772A #A8A33A #C6C259

Accessibility & contrast

On white

4.67
#7A772A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7A772A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A772A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A772A#FFFFFF#000000##FFFFFF
##7A772A1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817220
Deuteranopia (green-blind)
#82762F
Tritanopia (blue-blind)
#836F67
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a772a;
/* rgb */ color: rgb(122, 119, 42);
/* oklch */ color: oklch(55.6% 0.098 107.1);
Tailwind
colors: {
  custom: {
    50: '#a39e68',
    500: '#7a772a',
    950: '#000000',
  },
}
SCSS
$custom: #7a772a;
$custom-light: #a39e68;
$custom-dark: #000000;
JSON
{
  "hex": "#7a772a",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 57.75,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55616,
    "c": 0.09819,
    "h": 107.1
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#7A772A
secondary
#5558AB
accent
#55D84F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A772A

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

Preview Lab → · Contrast checker → · Palette generator →

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