#78981D#78981D

#78981D is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 63.3% C 0.147 H 123.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#78981D
RGBrgb(120, 152, 29)
HSLhsl(76, 68%, 35%)
HSVhsv(76, 81%, 60%)
CMYKcmyk(21.1%, 0%, 80.9%, 40.4%)
CIE-LABlab(58.54, -27.96, 55.62)
CIE-LCHlch(58.54, 62.25, 116.68°)
OKLaboklab(63.31% -0.0819 0.1218)
OKLCHoklch(63.31% 0.147 123.9)
XYZxyz(19.1960, 26.5381, 5.2732)
Luminance0.2654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78981D #3D1D98
analogous
#987A1D #78981D #3A981D
triadic
#78981D #1D7898 #981D78
tetradic
#78981D #1D987A #3D1D98 #981D3A
square
#78981D #1D987A #3D1D98 #981D3A
split-complementary
#78981D #1D3A98 #7A1D98
monochromatic
#273109 #4F6513 #78981D #A1CB27 #B9DE52

Accessibility & contrast

On white

3.33
#78981D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#78981D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78981D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78981D#FFFFFF#000000##000000
##78981D1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#7E9082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #78981d;
/* rgb */ color: rgb(120, 152, 29);
/* oklch */ color: oklch(63.3% 0.147 123.9);
Tailwind
colors: {
  custom: {
    50: '#a3b665',
    500: '#78981d',
    950: '#000000',
  },
}
SCSS
$custom: #78981d;
$custom-light: #a3b665;
$custom-dark: #000000;
JSON
{
  "hex": "#78981d",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 75.61,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63314,
    "c": 0.14679,
    "h": 123.9
  },
  "luminance": 0.26538
}

Semantic roles & 50–950 ramp

primary
#78981D
secondary
#6D50C1
accent
#3DEB6A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78981D

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

Preview Lab → · Contrast checker → · Palette generator →

#78981D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva