#78A42B#78A42B

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

Color values

HEX#78A42B
RGBrgb(120, 164, 43)
HSLhsl(82, 58%, 41%)
HSVhsv(82, 74%, 64%)
CMYKcmyk(26.8%, 0%, 73.8%, 35.7%)
CIE-LABlab(62.27, -32.92, 54.51)
CIE-LCHlch(62.27, 63.68, 121.13°)
OKLaboklab(66.36% -0.0943 0.1218)
OKLCHoklch(66.36% 0.154 127.8)
XYZxyz(21.4573, 30.7179, 7.0837)
Luminance0.3072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A42B #572BA4
analogous
#A4932B #78A42B #3CA42B
triadic
#78A42B #2B78A4 #A42B78
tetradic
#78A42B #2BA493 #572BA4 #A42B3C
square
#78A42B #2BA493 #572BA4 #A42B3C
split-complementary
#78A42B #2B3CA4 #932BA4
monochromatic
#314312 #55741E #78A42B #99CD3F #B3D970

Accessibility & contrast

On white

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

On black

7.14
#78A42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A42B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A42B#FFFFFF#000000##000000
##78A42B1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9814
Deuteranopia (green-blind)
#A69636
Tritanopia (blue-blind)
#7C9C8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #78a42b;
/* rgb */ color: rgb(120, 164, 43);
/* oklch */ color: oklch(66.4% 0.154 127.8);
Tailwind
colors: {
  custom: {
    50: '#a3bf6d',
    500: '#78a42b',
    950: '#000000',
  },
}
SCSS
$custom: #78a42b;
$custom-light: #a3bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#78a42b",
  "rgb": {
    "r": 120,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 81.818,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66358,
    "c": 0.15405,
    "h": 127.8
  },
  "luminance": 0.30718
}

Semantic roles & 50–950 ramp

primary
#78A42B
secondary
#8A6AC1
accent
#46E27F
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #78A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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