#78941F#78941F

#78941F is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.3% C 0.141 H 122.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#78941F
RGBrgb(120, 148, 31)
HSLhsl(74, 65%, 35%)
HSVhsv(74, 79%, 58%)
CMYKcmyk(18.9%, 0%, 79.1%, 42%)
CIE-LABlab(57.34, -25.92, 53.91)
CIE-LCHlch(57.34, 59.81, 115.68°)
OKLaboklab(62.34% -0.0762 0.1185)
OKLCHoklch(62.34% 0.141 122.7)
XYZxyz(18.5832, 25.2717, 5.1950)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78941F #3B1F94
analogous
#94751F #78941F #3D941F
triadic
#78941F #1F7894 #941F78
tetradic
#78941F #1F9475 #3B1F94 #941F3D
square
#78941F #1F9475 #3B1F94 #941F3D
split-complementary
#78941F #1F3D94 #751F94
monochromatic
#262F0A #4F6114 #78941F #A1C72A #BADB53

Accessibility & contrast

On white

3.47
#78941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#78941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78941F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78941F#FFFFFF#000000##000000
##78941F1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#998A2B
Tritanopia (blue-blind)
#7F8C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #78941f;
/* rgb */ color: rgb(120, 148, 31);
/* oklch */ color: oklch(62.3% 0.141 122.7);
Tailwind
colors: {
  custom: {
    50: '#a2b365',
    500: '#78941f',
    950: '#000000',
  },
}
SCSS
$custom: #78941f;
$custom-light: #a2b365;
$custom-dark: #000000;
JSON
{
  "hex": "#78941f",
  "rgb": {
    "r": 120,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 74.359,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62343,
    "c": 0.1409,
    "h": 122.7
  },
  "luminance": 0.25272
}

Semantic roles & 50–950 ramp

primary
#78941F
secondary
#6B51BE
accent
#3FE868
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78941F

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

Preview Lab → · Contrast checker → · Palette generator →

#78941F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva