#78A11C#78A11C

#78A11C is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.5% C 0.158 H 126.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#78A11C
RGBrgb(120, 161, 28)
HSLhsl(78, 70%, 37%)
HSVhsv(78, 83%, 63%)
CMYKcmyk(25.5%, 0%, 82.6%, 36.9%)
CIE-LABlab(61.28, -32.27, 58.36)
CIE-LCHlch(61.28, 66.68, 118.94°)
OKLaboklab(65.53% -0.0937 0.1275)
OKLCHoklch(65.53% 0.158 126.3)
XYZxyz(20.7003, 29.5663, 5.7147)
Luminance0.2957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A11C #451CA1
analogous
#A1871C #78A11C #36A11C
triadic
#78A11C #1C78A1 #A11C78
tetradic
#78A11C #1CA187 #451CA1 #A11C36
square
#78A11C #1CA187 #451CA1 #A11C36
split-complementary
#78A11C #1C36A1 #871CA1
monochromatic
#2A390A #516D13 #78A11C #9FD525 #B6E256

Accessibility & contrast

On white

3.04
#78A11C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#78A11C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78A11C
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A11C#FFFFFF#000000##000000
##78A11C1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#7D9989
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #78a11c;
/* rgb */ color: rgb(120, 161, 28);
/* oklch */ color: oklch(65.5% 0.158 126.3);
Tailwind
colors: {
  custom: {
    50: '#a3bd66',
    500: '#78a11c',
    950: '#000000',
  },
}
SCSS
$custom: #78a11c;
$custom-light: #a3bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#78a11c",
  "rgb": {
    "r": 120,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 78.496,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65529,
    "c": 0.15818,
    "h": 126.3
  },
  "luminance": 0.29567
}

Semantic roles & 50–950 ramp

primary
#78A11C
secondary
#7754C5
accent
#3BED72
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #78A11C

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

Preview Lab → · Contrast checker → · Palette generator →

#78A11C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva