#78A01F#78A01F

#78A01F is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 65.3% C 0.156 H 126.2°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#78A01F
RGBrgb(120, 160, 31)
HSLhsl(79, 68%, 37%)
HSVhsv(79, 81%, 63%)
CMYKcmyk(25%, 0%, 80.6%, 37.3%)
CIE-LABlab(60.99, -31.68, 57.25)
CIE-LCHlch(60.99, 65.43, 118.96°)
OKLaboklab(65.3% -0.0919 0.1256)
OKLCHoklch(65.3% 0.156 126.2)
XYZxyz(20.5640, 29.2333, 5.8552)
Luminance0.2923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A01F #471FA0
analogous
#A0881F #78A01F #37A01F
triadic
#78A01F #1F78A0 #A01F78
tetradic
#78A01F #1FA088 #471FA0 #A01F37
square
#78A01F #1FA088 #471FA0 #A01F37
split-complementary
#78A01F #1F37A0 #881FA0
monochromatic
#2B390B #526D15 #78A01F #9ED329 #B6DF5A

Accessibility & contrast

On white

3.07
#78A01F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#78A01F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78A01F
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A01F#FFFFFF#000000##000000
##78A01F1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A3932D
Tritanopia (blue-blind)
#7D9888
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #78a01f;
/* rgb */ color: rgb(120, 160, 31);
/* oklch */ color: oklch(65.3% 0.156 126.2);
Tailwind
colors: {
  custom: {
    50: '#a3bc67',
    500: '#78a01f',
    950: '#000000',
  },
}
SCSS
$custom: #78a01f;
$custom-light: #a3bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#78a01f",
  "rgb": {
    "r": 120,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 78.605,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65297,
    "c": 0.15561,
    "h": 126.2
  },
  "luminance": 0.29234
}

Semantic roles & 50–950 ramp

primary
#78A01F
secondary
#7958C3
accent
#3DEA73
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #78A01F

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

Preview Lab → · Contrast checker → · Palette generator →

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