#78951A#78951A

#78951A is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.6% C 0.145 H 122.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#78951A
RGBrgb(120, 149, 26)
HSLhsl(74, 70%, 34%)
HSVhsv(74, 83%, 58%)
CMYKcmyk(19.5%, 0%, 82.6%, 41.6%)
CIE-LABlab(57.62, -26.62, 55.66)
CIE-LCHlch(57.62, 61.70, 115.56°)
OKLaboklab(62.56% -0.0785 0.1214)
OKLCHoklch(62.56% 0.145 122.9)
XYZxyz(18.6799, 25.5624, 4.9270)
Luminance0.2556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78951A #371A95
analogous
#95751A #78951A #3B951A
triadic
#78951A #1A7895 #951A78
tetradic
#78951A #1A9575 #371A95 #951A3B
square
#78951A #1A9575 #371A95 #951A3B
split-complementary
#78951A #1A3B95 #751A95
monochromatic
#242D08 #4E6111 #78951A #A2C923 #BCDF4A

Accessibility & contrast

On white

3.44
#78951A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#78951A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78951A
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78951A#FFFFFF#000000##000000
##78951A1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#7F8D7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #78951a;
/* rgb */ color: rgb(120, 149, 26);
/* oklch */ color: oklch(62.6% 0.145 122.9);
Tailwind
colors: {
  custom: {
    50: '#a3b463',
    500: '#78951a',
    950: '#000000',
  },
}
SCSS
$custom: #78951a;
$custom-light: #a3b463;
$custom-dark: #000000;
JSON
{
  "hex": "#78951a",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 74.146,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62562,
    "c": 0.14454,
    "h": 122.9
  },
  "luminance": 0.25563
}

Semantic roles & 50–950 ramp

primary
#78951A
secondary
#664AC1
accent
#3BED65
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78951A

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

Preview Lab → · Contrast checker → · Palette generator →

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