#78792F#78792F

#78792F is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.096 H 109.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#78792F
RGBrgb(120, 121, 47)
HSLhsl(61, 44%, 33%)
HSVhsv(61, 61%, 47%)
CMYKcmyk(0.8%, 0%, 61.2%, 52.5%)
CIE-LABlab(49.34, -10.87, 39.44)
CIE-LCHlch(49.34, 40.91, 105.41°)
OKLaboklab(55.95% -0.0328 0.0907)
OKLCHoklch(55.95% 0.096 109.9)
XYZxyz(15.0966, 17.8734, 5.3434)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78792F #302F79
analogous
#79552F #78792F #53792F
triadic
#78792F #2F7879 #792F78
tetradic
#78792F #2F7955 #302F79 #792F53
square
#78792F #2F7955 #302F79 #792F53
split-complementary
#78792F #2F5379 #552F79
monochromatic
#21210D #4C4D1E #78792F #A4A540 #C0C261

Accessibility & contrast

On white

4.59
#78792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#78792F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #78792F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78792F#FFFFFF#000000##FFFFFF
##78792F1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827427
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#807269
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #78792f;
/* rgb */ color: rgb(120, 121, 47);
/* oklch */ color: oklch(56.0% 0.096 109.9);
Tailwind
colors: {
  custom: {
    50: '#a19f6b',
    500: '#78792f',
    950: '#000000',
  },
}
SCSS
$custom: #78792f;
$custom-light: #a19f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#78792f",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 60.811,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55954,
    "c": 0.09639,
    "h": 109.9
  },
  "luminance": 0.17873
}

Semantic roles & 50–950 ramp

primary
#78792F
secondary
#5C5BA8
accent
#54D456
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #78792F

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

Preview Lab → · Contrast checker → · Palette generator →

#78792F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva