#78951C#78951C

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

Color values

HEX#78951C
RGBrgb(120, 149, 28)
HSLhsl(74, 68%, 35%)
HSVhsv(74, 81%, 58%)
CMYKcmyk(19.5%, 0%, 81.2%, 41.6%)
CIE-LABlab(57.63, -26.54, 55.09)
CIE-LCHlch(57.63, 61.15, 115.72°)
OKLaboklab(62.57% -0.0781 0.1205)
OKLCHoklch(62.57% 0.144 122.9)
XYZxyz(18.7030, 25.5717, 5.0489)
Luminance0.2557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78951C #391C95
analogous
#95761C #78951C #3C951C
triadic
#78951C #1C7895 #951C78
tetradic
#78951C #1C9576 #391C95 #951C3C
square
#78951C #1C9576 #391C95 #951C3C
split-complementary
#78951C #1C3C95 #761C95
monochromatic
#252E09 #4F6112 #78951C #A1C926 #BBDE4E

Accessibility & contrast

On white

3.43
#78951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##78951C#FFFFFF#000000##000000
##78951C1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78951c;
/* rgb */ color: rgb(120, 149, 28);
/* oklch */ color: oklch(62.6% 0.144 122.9);
Tailwind
colors: {
  custom: {
    50: '#a3b464',
    500: '#78951c',
    950: '#000000',
  },
}
SCSS
$custom: #78951c;
$custom-light: #a3b464;
$custom-dark: #000000;
JSON
{
  "hex": "#78951c",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 74.38,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62572,
    "c": 0.14362,
    "h": 122.9
  },
  "luminance": 0.25572
}

Semantic roles & 50–950 ramp

primary
#78951C
secondary
#684DC0
accent
#3DEB66
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78951C

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

Preview Lab → · Contrast checker → · Palette generator →

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