#78792D#78792D

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

Color values

HEX#78792D
RGBrgb(120, 121, 45)
HSLhsl(61, 46%, 33%)
HSVhsv(61, 63%, 47%)
CMYKcmyk(0.8%, 0%, 62.8%, 52.5%)
CIE-LABlab(49.32, -11.02, 40.36)
CIE-LCHlch(49.32, 41.84, 105.27°)
OKLaboklab(55.93% -0.0334 0.0923)
OKLCHoklch(55.93% 0.098 109.9)
XYZxyz(15.0572, 17.8577, 5.1358)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78792D #2E2D79
analogous
#79542D #78792D #52792D
triadic
#78792D #2D7879 #792D78
tetradic
#78792D #2D7954 #2E2D79 #792D52
square
#78792D #2D7954 #2E2D79 #792D52
split-complementary
#78792D #2D5279 #542D79
monochromatic
#20200C #4C4C1C #78792D #A4A63E #C2C35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78792D#FFFFFF#000000##FFFFFF
##78792D1.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)
#827424
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#807269
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #78792d;
/* rgb */ color: rgb(120, 121, 45);
/* oklch */ color: oklch(55.9% 0.098 109.9);
Tailwind
colors: {
  custom: {
    50: '#a19f6a',
    500: '#78792d',
    950: '#000000',
  },
}
SCSS
$custom: #78792d;
$custom-light: #a19f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#78792d",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 60.789,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55932,
    "c": 0.0982,
    "h": 109.9
  },
  "luminance": 0.17857
}

Semantic roles & 50–950 ramp

primary
#78792D
secondary
#5A58A9
accent
#52D554
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #78792D

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

Preview Lab → · Contrast checker → · Palette generator →

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