#78801A#78801A

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

Color values

HEX#78801A
RGBrgb(120, 128, 26)
HSLhsl(65, 66%, 30%)
HSVhsv(65, 80%, 50%)
CMYKcmyk(6.3%, 0%, 79.7%, 49.8%)
CIE-LABlab(51.27, -15.92, 49.96)
CIE-LCHlch(51.27, 52.44, 107.67°)
OKLaboklab(57.45% -0.0491 0.1093)
OKLCHoklch(57.45% 0.12 114.2)
XYZxyz(15.6518, 19.5063, 3.9177)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78801A #221A80
analogous
#80551A #78801A #45801A
triadic
#78801A #1A7880 #801A78
tetradic
#78801A #1A8055 #221A80 #801A45
square
#78801A #1A8055 #221A80 #801A45
split-complementary
#78801A #1A4580 #551A80
monochromatic
#191A05 #484D10 #78801A #A8B324 #CBD83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78801A#FFFFFF#000000##000000
##78801A1.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)
#8A7900
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#80786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #78801a;
/* rgb */ color: rgb(120, 128, 26);
/* oklch */ color: oklch(57.5% 0.120 114.2);
Tailwind
colors: {
  custom: {
    50: '#a2a460',
    500: '#78801a',
    950: '#000000',
  },
}
SCSS
$custom: #78801a;
$custom-light: #a2a460;
$custom-dark: #000000;
JSON
{
  "hex": "#78801a",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 64.706,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5745,
    "c": 0.11978,
    "h": 114.2
  },
  "luminance": 0.19506
}

Semantic roles & 50–950 ramp

primary
#78801A
secondary
#4B42B4
accent
#3FE94C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #78801A

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

Preview Lab → · Contrast checker → · Palette generator →

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