#78901A#78901A

#78901A is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 61.3% C 0.139 H 121.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#78901A
RGBrgb(120, 144, 26)
HSLhsl(72, 69%, 33%)
HSVhsv(72, 82%, 56%)
CMYKcmyk(16.7%, 0%, 81.9%, 43.5%)
CIE-LABlab(56.10, -24.15, 54.31)
CIE-LCHlch(56.10, 59.44, 113.98°)
OKLaboklab(61.33% -0.0717 0.1185)
OKLCHoklch(61.33% 0.139 121.2)
XYZxyz(17.9058, 24.0142, 4.6690)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78901A #321A90
analogous
#906D1A #78901A #3D901A
triadic
#78901A #1A7890 #901A78
tetradic
#78901A #1A906D #321A90 #901A3D
square
#78901A #1A906D #321A90 #901A3D
split-complementary
#78901A #1A3D90 #6D1A90
monochromatic
#222807 #4D5C11 #78901A #A3C423 #BFDE47

Accessibility & contrast

On white

3.62
#78901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#78901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78901A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78901A#FFFFFF#000000##000000
##78901A1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#968726
Tritanopia (blue-blind)
#7F887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #78901a;
/* rgb */ color: rgb(120, 144, 26);
/* oklch */ color: oklch(61.3% 0.139 121.2);
Tailwind
colors: {
  custom: {
    50: '#a3b063',
    500: '#78901a',
    950: '#000000',
  },
}
SCSS
$custom: #78901a;
$custom-light: #a3b063;
$custom-dark: #000000;
JSON
{
  "hex": "#78901a",
  "rgb": {
    "r": 120,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 72.203,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61335,
    "c": 0.13853,
    "h": 121.2
  },
  "luminance": 0.24014
}

Semantic roles & 50–950 ramp

primary
#78901A
secondary
#5F47BF
accent
#3CEC60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #78901A

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

Preview Lab → · Contrast checker → · Palette generator →

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