#78791A#78791A

#78791A is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.112 H 110.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#78791A
RGBrgb(120, 121, 26)
HSLhsl(61, 65%, 29%)
HSVhsv(61, 79%, 47%)
CMYKcmyk(0.8%, 0%, 78.5%, 52.5%)
CIE-LABlab(49.18, -12.15, 48.05)
CIE-LCHlch(49.18, 49.56, 104.19°)
OKLaboklab(55.78% -0.0386 0.1052)
OKLCHoklch(55.78% 0.112 110.2)
XYZxyz(14.7701, 17.7428, 3.6237)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78791A #1B1A79
analogous
#794B1A #78791A #49791A
triadic
#78791A #1A7879 #791A78
tetradic
#78791A #1A794B #1B1A79 #791A49
square
#78791A #1A794B #1B1A79 #791A49
split-complementary
#78791A #1A4979 #4B1A79
monochromatic
#191905 #46470F #78791A #AAAB25 #D3D439

Accessibility & contrast

On white

4.62
#78791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#78791A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #78791A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78791A#FFFFFF#000000##FFFFFF
##78791A1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837303
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#817167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #78791a;
/* rgb */ color: rgb(120, 121, 26);
/* oklch */ color: oklch(55.8% 0.112 110.2);
Tailwind
colors: {
  custom: {
    50: '#a29f5f',
    500: '#78791a',
    950: '#000000',
  },
}
SCSS
$custom: #78791a;
$custom-light: #a29f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#78791a",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 60.632,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55775,
    "c": 0.11206,
    "h": 110.2
  },
  "luminance": 0.17742
}

Semantic roles & 50–950 ramp

primary
#78791A
secondary
#4341AD
accent
#40E842
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78791A

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

Preview Lab → · Contrast checker → · Palette generator →

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