#78791E#78791E

#78791E is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.110 H 110.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#78791E
RGBrgb(120, 121, 30)
HSLhsl(61, 60%, 30%)
HSVhsv(61, 75%, 47%)
CMYKcmyk(0.8%, 0%, 75.2%, 52.5%)
CIE-LABlab(49.21, -11.96, 46.63)
CIE-LCHlch(49.21, 48.14, 104.38°)
OKLaboklab(55.8% -0.0377 0.103)
OKLCHoklch(55.8% 0.11 110.1)
XYZxyz(14.8180, 17.7620, 3.8759)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78791E #1F1E79
analogous
#794C1E #78791E #4B791E
triadic
#78791E #1E7879 #791E78
tetradic
#78791E #1E794C #1F1E79 #791E4B
square
#78791E #1E794C #1F1E79 #791E4B
split-complementary
#78791E #1E4B79 #4C1E79
monochromatic
#181906 #474812 #78791E #A9AA2A #CED041

Accessibility & contrast

On white

4.61
#78791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #78791E
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78791E#FFFFFF#000000##FFFFFF
##78791E1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740C
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#817167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #78791e;
/* rgb */ color: rgb(120, 121, 30);
/* oklch */ color: oklch(55.8% 0.110 110.1);
Tailwind
colors: {
  custom: {
    50: '#a29f61',
    500: '#78791e',
    950: '#000000',
  },
}
SCSS
$custom: #78791e;
$custom-light: #a29f61;
$custom-dark: #000000;
JSON
{
  "hex": "#78791e",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 60.659,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55802,
    "c": 0.10966,
    "h": 110.1
  },
  "luminance": 0.17762
}

Semantic roles & 50–950 ramp

primary
#78791E
secondary
#4746AD
accent
#44E346
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #78791E

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

Preview Lab → · Contrast checker → · Palette generator →

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