#78981F#78981F

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

Color values

HEX#78981F
RGBrgb(120, 152, 31)
HSLhsl(76, 66%, 36%)
HSVhsv(76, 80%, 60%)
CMYKcmyk(21.1%, 0%, 79.6%, 40.4%)
CIE-LABlab(58.55, -27.87, 55.03)
CIE-LCHlch(58.55, 61.68, 116.86°)
OKLaboklab(63.33% -0.0815 0.1209)
OKLCHoklch(63.33% 0.146 124)
XYZxyz(19.2215, 26.5483, 5.4077)
Luminance0.2655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78981F #3F1F98
analogous
#987B1F #78981F #3B981F
triadic
#78981F #1F7898 #981F78
tetradic
#78981F #1F987B #3F1F98 #981F3B
square
#78981F #1F987B #3F1F98 #981F3B
split-complementary
#78981F #1F3B98 #7B1F98
monochromatic
#28320A #506515 #78981F #A0CB29 #B9DC55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78981F#FFFFFF#000000##000000
##78981F1.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)
#9D8D2B
Tritanopia (blue-blind)
#7E9082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #78981f;
/* rgb */ color: rgb(120, 152, 31);
/* oklch */ color: oklch(63.3% 0.146 124.0);
Tailwind
colors: {
  custom: {
    50: '#a3b666',
    500: '#78981f',
    950: '#000000',
  },
}
SCSS
$custom: #78981f;
$custom-light: #a3b666;
$custom-dark: #000000;
JSON
{
  "hex": "#78981f",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 75.868,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63325,
    "c": 0.1458,
    "h": 124
  },
  "luminance": 0.26548
}

Semantic roles & 50–950 ramp

primary
#78981F
secondary
#7053C0
accent
#3FE96C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78981F

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

Preview Lab → · Contrast checker → · Palette generator →

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