#78941B#78941B

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

Color values

HEX#78941B
RGBrgb(120, 148, 27)
HSLhsl(74, 69%, 34%)
HSVhsv(74, 82%, 58%)
CMYKcmyk(18.9%, 0%, 81.8%, 42%)
CIE-LABlab(57.32, -26.09, 55.11)
CIE-LCHlch(57.32, 60.97, 115.34°)
OKLaboklab(62.32% -0.077 0.1204)
OKLCHoklch(62.32% 0.143 122.6)
XYZxyz(18.5337, 25.2519, 4.9344)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78941B #371B94
analogous
#94741B #78941B #3C941B
triadic
#78941B #1B7894 #941B78
tetradic
#78941B #1B9474 #371B94 #941B3C
square
#78941B #1B9474 #371B94 #941B3C
split-complementary
#78941B #1B3C94 #741B94
monochromatic
#242C08 #4E6012 #78941B #A2C824 #BCDE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78941B#FFFFFF#000000##000000
##78941B1.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)
#9A8A28
Tritanopia (blue-blind)
#7F8C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #78941b;
/* rgb */ color: rgb(120, 148, 27);
/* oklch */ color: oklch(62.3% 0.143 122.6);
Tailwind
colors: {
  custom: {
    50: '#a3b364',
    500: '#78941b',
    950: '#000000',
  },
}
SCSS
$custom: #78941b;
$custom-light: #a3b364;
$custom-dark: #000000;
JSON
{
  "hex": "#78941b",
  "rgb": {
    "r": 120,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 73.884,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62321,
    "c": 0.14288,
    "h": 122.6
  },
  "luminance": 0.25252
}

Semantic roles & 50–950 ramp

primary
#78941B
secondary
#664BC0
accent
#3CEC65
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78941B

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

Preview Lab → · Contrast checker → · Palette generator →

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