#78801C#78801C

#78801C is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.5% C 0.119 H 114.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#78801C
RGBrgb(120, 128, 28)
HSLhsl(65, 64%, 31%)
HSVhsv(65, 78%, 50%)
CMYKcmyk(6.3%, 0%, 78.1%, 49.8%)
CIE-LABlab(51.29, -15.83, 49.30)
CIE-LCHlch(51.29, 51.78, 107.80°)
OKLaboklab(57.46% -0.0487 0.1082)
OKLCHoklch(57.46% 0.119 114.2)
XYZxyz(15.6750, 19.5156, 4.0395)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78801C #241C80
analogous
#80561C #78801C #46801C
triadic
#78801C #1C7880 #801C78
tetradic
#78801C #1C8056 #241C80 #801C46
square
#78801C #1C8056 #241C80 #801C46
split-complementary
#78801C #1C4680 #561C80
monochromatic
#1A1C06 #494E11 #78801C #A7B227 #CAD541

Accessibility & contrast

On white

4.28
#78801C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#78801C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78801C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78801C#FFFFFF#000000##000000
##78801C1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7904
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#80786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #78801c;
/* rgb */ color: rgb(120, 128, 28);
/* oklch */ color: oklch(57.5% 0.119 114.2);
Tailwind
colors: {
  custom: {
    50: '#a2a461',
    500: '#78801c',
    950: '#000000',
  },
}
SCSS
$custom: #78801c;
$custom-light: #a2a461;
$custom-dark: #000000;
JSON
{
  "hex": "#78801c",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 64.8,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57462,
    "c": 0.11868,
    "h": 114.2
  },
  "luminance": 0.19515
}

Semantic roles & 50–950 ramp

primary
#78801C
secondary
#4D44B3
accent
#41E74E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #78801C

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

Preview Lab → · Contrast checker → · Palette generator →

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