#78792C#78792C

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

Color values

HEX#78792C
RGBrgb(120, 121, 44)
HSLhsl(61, 47%, 32%)
HSVhsv(61, 64%, 47%)
CMYKcmyk(0.8%, 0%, 63.6%, 52.5%)
CIE-LABlab(49.31, -11.09, 40.82)
CIE-LCHlch(49.31, 42.30, 105.20°)
OKLaboklab(55.92% -0.0337 0.0932)
OKLCHoklch(55.92% 0.099 109.9)
XYZxyz(15.0382, 17.8501, 5.0356)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78792C #2D2C79
analogous
#79532C #78792C #52792C
triadic
#78792C #2C7879 #792C78
tetradic
#78792C #2C7953 #2D2C79 #792C52
square
#78792C #2C7953 #2D2C79 #792C52
split-complementary
#78792C #2C5279 #532C79
monochromatic
#1F1F0B #4B4C1C #78792C #A5A63C #C2C45C

Accessibility & contrast

On white

4.60
#78792C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #78792C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78792C#FFFFFF#000000##FFFFFF
##78792C1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78792c;
/* rgb */ color: rgb(120, 121, 44);
/* oklch */ color: oklch(55.9% 0.099 109.9);
Tailwind
colors: {
  custom: {
    50: '#a19f69',
    500: '#78792c',
    950: '#000000',
  },
}
SCSS
$custom: #78792c;
$custom-light: #a19f69;
$custom-dark: #000000;
JSON
{
  "hex": "#78792c",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 60.779,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55922,
    "c": 0.09908,
    "h": 109.9
  },
  "luminance": 0.1785
}

Semantic roles & 50–950 ramp

primary
#78792C
secondary
#5857AA
accent
#51D653
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #78792C

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

Preview Lab → · Contrast checker → · Palette generator →

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