#78901F#78901F

#78901F is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 61.4% C 0.136 H 121.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#78901F
RGBrgb(120, 144, 31)
HSLhsl(73, 65%, 34%)
HSVhsv(73, 78%, 56%)
CMYKcmyk(16.7%, 0%, 78.5%, 43.5%)
CIE-LABlab(56.13, -23.94, 52.79)
CIE-LCHlch(56.13, 57.96, 114.39°)
OKLaboklab(61.36% -0.0708 0.1162)
OKLCHoklch(61.36% 0.136 121.3)
XYZxyz(17.9666, 24.0385, 4.9894)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78901F #371F90
analogous
#90701F #78901F #40901F
triadic
#78901F #1F7890 #901F78
tetradic
#78901F #1F9070 #371F90 #901F40
square
#78901F #1F9070 #371F90 #901F40
split-complementary
#78901F #1F4090 #701F90
monochromatic
#242B09 #4E5E14 #78901F #A2C22A #BCD950

Accessibility & contrast

On white

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

On black

5.81
#78901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78901F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78901F#FFFFFF#000000##000000
##78901F1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998701
Deuteranopia (green-blind)
#96872A
Tritanopia (blue-blind)
#7F887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #78901f;
/* rgb */ color: rgb(120, 144, 31);
/* oklch */ color: oklch(61.4% 0.136 121.3);
Tailwind
colors: {
  custom: {
    50: '#a2b065',
    500: '#78901f',
    950: '#000000',
  },
}
SCSS
$custom: #78901f;
$custom-light: #a2b065;
$custom-dark: #000000;
JSON
{
  "hex": "#78901f",
  "rgb": {
    "r": 120,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 72.743,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61363,
    "c": 0.13602,
    "h": 121.3
  },
  "luminance": 0.24039
}

Semantic roles & 50–950 ramp

primary
#78901F
secondary
#664EBC
accent
#40E864
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #78901F

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

Preview Lab → · Contrast checker → · Palette generator →

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