#78A42C#78A42C

#78A42C is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.4% C 0.153 H 127.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#78A42C
RGBrgb(120, 164, 44)
HSLhsl(82, 58%, 41%)
HSVhsv(82, 73%, 64%)
CMYKcmyk(26.8%, 0%, 73.2%, 35.7%)
CIE-LABlab(62.28, -32.86, 54.15)
CIE-LCHlch(62.28, 63.34, 121.25°)
OKLaboklab(66.36% -0.0941 0.1212)
OKLCHoklch(66.36% 0.153 127.8)
XYZxyz(21.4758, 30.7254, 7.1815)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A42C #582CA4
analogous
#A4942C #78A42C #3CA42C
triadic
#78A42C #2C78A4 #A42C78
tetradic
#78A42C #2CA494 #582CA4 #A42C3C
square
#78A42C #2CA494 #582CA4 #A42C3C
split-complementary
#78A42C #2C3CA4 #942CA4
monochromatic
#314312 #55741F #78A42C #99CC41 #B3D971

Accessibility & contrast

On white

2.94
#78A42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#78A42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A42C
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A42C#FFFFFF#000000##000000
##78A42C1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9816
Deuteranopia (green-blind)
#A69637
Tritanopia (blue-blind)
#7C9C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #78a42c;
/* rgb */ color: rgb(120, 164, 44);
/* oklch */ color: oklch(66.4% 0.153 127.8);
Tailwind
colors: {
  custom: {
    50: '#a3bf6d',
    500: '#78a42c',
    950: '#000000',
  },
}
SCSS
$custom: #78a42c;
$custom-light: #a3bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#78a42c",
  "rgb": {
    "r": 120,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 82,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66365,
    "c": 0.15343,
    "h": 127.8
  },
  "luminance": 0.30726
}

Semantic roles & 50–950 ramp

primary
#78A42C
secondary
#8B6BC0
accent
#47E17F
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #78A42C

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

Preview Lab → · Contrast checker → · Palette generator →

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