#78802A#78802A

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

Color values

HEX#78802A
RGBrgb(120, 128, 42)
HSLhsl(66, 51%, 33%)
HSVhsv(66, 67%, 50%)
CMYKcmyk(6.3%, 0%, 67.2%, 49.8%)
CIE-LABlab(51.38, -15.03, 43.91)
CIE-LCHlch(51.38, 46.41, 108.90°)
OKLaboklab(57.57% -0.045 0.0994)
OKLCHoklch(57.57% 0.109 114.4)
XYZxyz(15.8832, 19.5989, 5.1363)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78802A #322A80
analogous
#805D2A #78802A #4D802A
triadic
#78802A #2A7880 #802A78
tetradic
#78802A #2A805D #322A80 #802A4D
square
#78802A #2A805D #322A80 #802A4D
split-complementary
#78802A #2A4D80 #5D2A80
monochromatic
#22240C #4D521B #78802A #A3AE39 #BFC95B

Accessibility & contrast

On white

4.27
#78802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#78802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78802A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78802A#FFFFFF#000000##000000
##78802A1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1E
Deuteranopia (green-blind)
#897B30
Tritanopia (blue-blind)
#80796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #78802a;
/* rgb */ color: rgb(120, 128, 42);
/* oklch */ color: oklch(57.6% 0.109 114.4);
Tailwind
colors: {
  custom: {
    50: '#a1a468',
    500: '#78802a',
    950: '#000000',
  },
}
SCSS
$custom: #78802a;
$custom-light: #a1a468;
$custom-dark: #000000;
JSON
{
  "hex": "#78802a",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 65.581,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57569,
    "c": 0.1091,
    "h": 114.4
  },
  "luminance": 0.19599
}

Semantic roles & 50–950 ramp

primary
#78802A
secondary
#5F57AF
accent
#4EDA5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #78802A

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

Preview Lab → · Contrast checker → · Palette generator →

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