#78802E#78802E

#78802E is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.106 H 114.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#78802E
RGBrgb(120, 128, 46)
HSLhsl(66, 47%, 34%)
HSVhsv(66, 64%, 50%)
CMYKcmyk(6.3%, 0%, 64.1%, 49.8%)
CIE-LABlab(51.41, -14.74, 42.16)
CIE-LCHlch(51.41, 44.66, 109.28°)
OKLaboklab(57.61% -0.0438 0.0963)
OKLCHoklch(57.61% 0.106 114.5)
XYZxyz(15.9584, 19.6289, 5.5323)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78802E #362E80
analogous
#805F2E #78802E #4F802E
triadic
#78802E #2E7880 #802E78
tetradic
#78802E #2E805F #362E80 #802E4F
square
#78802E #2E805F #362E80 #802E4F
split-complementary
#78802E #2E4F80 #5F2E80
monochromatic
#24260E #4E531E #78802E #A2AD3E #BDC762

Accessibility & contrast

On white

4.26
#78802E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#78802E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78802E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78802E#FFFFFF#000000##000000
##78802E1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#80796F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #78802e;
/* rgb */ color: rgb(120, 128, 46);
/* oklch */ color: oklch(57.6% 0.106 114.5);
Tailwind
colors: {
  custom: {
    50: '#a1a46b',
    500: '#78802e',
    950: '#000000',
  },
}
SCSS
$custom: #78802e;
$custom-light: #a1a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#78802e",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 65.854,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.10577,
    "h": 114.5
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

primary
#78802E
secondary
#645DAD
accent
#51D75E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #78802E

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

Preview Lab → · Contrast checker → · Palette generator →

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