#79772A#79772A

#79772A is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.5% C 0.098 H 107.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#79772A
RGBrgb(121, 119, 42)
HSLhsl(58, 48%, 32%)
HSVhsv(58, 65%, 47%)
CMYKcmyk(0%, 1.7%, 65.3%, 52.5%)
CIE-LABlab(48.79, -9.68, 41.21)
CIE-LCHlch(48.79, 42.33, 103.21°)
OKLaboklab(55.52% -0.03 0.0936)
OKLCHoklch(55.52% 0.098 107.8)
XYZxyz(14.9004, 17.4262, 4.7687)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79772A #2A2C79
analogous
#79502A #79772A #54792A
triadic
#79772A #2A7977 #772A79
tetradic
#79772A #2A7950 #2A2C79 #792A54
square
#79772A #2A7950 #2A2C79 #792A54
split-complementary
#79772A #2A5479 #502A79
monochromatic
#1E1E0A #4C4A1A #79772A #A6A43A #C5C258

Accessibility & contrast

On white

4.68
#79772A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#79772A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79772A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79772A#FFFFFF#000000##FFFFFF
##79772A1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79772a;
/* rgb */ color: rgb(121, 119, 42);
/* oklch */ color: oklch(55.5% 0.098 107.8);
Tailwind
colors: {
  custom: {
    50: '#a29e68',
    500: '#79772a',
    950: '#000000',
  },
}
SCSS
$custom: #79772a;
$custom-light: #a29e68;
$custom-dark: #000000;
JSON
{
  "hex": "#79772a",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 58.481,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55522,
    "c": 0.09834,
    "h": 107.8
  },
  "luminance": 0.17426
}

Semantic roles & 50–950 ramp

primary
#79772A
secondary
#5456AB
accent
#53D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #79772A

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

Preview Lab → · Contrast checker → · Palette generator →

#79772A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva