#78802C#78802C

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

Color values

HEX#78802C
RGBrgb(120, 128, 44)
HSLhsl(66, 49%, 34%)
HSVhsv(66, 66%, 50%)
CMYKcmyk(6.3%, 0%, 65.6%, 49.8%)
CIE-LABlab(51.40, -14.89, 43.04)
CIE-LCHlch(51.40, 45.55, 109.08°)
OKLaboklab(57.59% -0.0444 0.0978)
OKLCHoklch(57.59% 0.107 114.4)
XYZxyz(15.9199, 19.6135, 5.3295)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78802C #342C80
analogous
#805E2C #78802C #4E802C
triadic
#78802C #2C7880 #802C78
tetradic
#78802C #2C805E #342C80 #802C4E
square
#78802C #2C805E #342C80 #802C4E
split-complementary
#78802C #2C4E80 #5E2C80
monochromatic
#23250D #4D521C #78802C #A3AE3C #BEC85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78802C#FFFFFF#000000##000000
##78802C1.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)
#897A21
Deuteranopia (green-blind)
#897B32
Tritanopia (blue-blind)
#80796F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #78802c;
/* rgb */ color: rgb(120, 128, 44);
/* oklch */ color: oklch(57.6% 0.107 114.4);
Tailwind
colors: {
  custom: {
    50: '#a1a46a',
    500: '#78802c',
    950: '#000000',
  },
}
SCSS
$custom: #78802c;
$custom-light: #a1a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#78802c",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 65.714,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57588,
    "c": 0.10746,
    "h": 114.4
  },
  "luminance": 0.19613
}

Semantic roles & 50–950 ramp

primary
#78802C
secondary
#625AAE
accent
#4FD85C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #78802C

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

Preview Lab → · Contrast checker → · Palette generator →

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