#78A01B#78A01B

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

Color values

HEX#78A01B
RGBrgb(120, 160, 27)
HSLhsl(78, 71%, 37%)
HSVhsv(78, 83%, 63%)
CMYKcmyk(25%, 0%, 83.1%, 37.3%)
CIE-LABlab(60.97, -31.84, 58.35)
CIE-LCHlch(60.97, 66.47, 118.62°)
OKLaboklab(65.28% -0.0926 0.1273)
OKLCHoklch(65.28% 0.157 126)
XYZxyz(20.5145, 29.2135, 5.5947)
Luminance0.2921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A01B #431BA0
analogous
#A0861B #78A01B #36A01B
triadic
#78A01B #1B78A0 #A01B78
tetradic
#78A01B #1BA086 #431BA0 #A01B36
square
#78A01B #1BA086 #431BA0 #A01B36
split-complementary
#78A01B #1B36A0 #861BA0
monochromatic
#293709 #516C12 #78A01B #9FD424 #B7E253

Accessibility & contrast

On white

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

On black

6.84
#78A01B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78A01B
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A01B#FFFFFF#000000##000000
##78A01B1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78a01b;
/* rgb */ color: rgb(120, 160, 27);
/* oklch */ color: oklch(65.3% 0.157 126.0);
Tailwind
colors: {
  custom: {
    50: '#a3bc65',
    500: '#78a01b',
    950: '#000000',
  },
}
SCSS
$custom: #78a01b;
$custom-light: #a3bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#78a01b",
  "rgb": {
    "r": 120,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 78.045,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65277,
    "c": 0.15739,
    "h": 126
  },
  "luminance": 0.29214
}

Semantic roles & 50–950 ramp

primary
#78A01B
secondary
#7452C5
accent
#3AEE70
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #78A01B

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

Preview Lab → · Contrast checker → · Palette generator →

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