#78991F#78991F

#78991F is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.6% C 0.147 H 124.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#78991F
RGBrgb(120, 153, 31)
HSLhsl(76, 66%, 36%)
HSVhsv(76, 80%, 60%)
CMYKcmyk(21.6%, 0%, 79.7%, 40%)
CIE-LABlab(58.86, -28.35, 55.30)
CIE-LCHlch(58.86, 62.15, 117.14°)
OKLaboklab(63.57% -0.0828 0.1215)
OKLCHoklch(63.57% 0.147 124.3)
XYZxyz(19.3845, 26.8743, 5.4621)
Luminance0.2687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78991F #401F99
analogous
#997D1F #78991F #3B991F
triadic
#78991F #1F7899 #991F78
tetradic
#78991F #1F997D #401F99 #991F3B
square
#78991F #1F997D #401F99 #991F3B
split-complementary
#78991F #1F3B99 #7D1F99
monochromatic
#28330A #506615 #78991F #A0CC29 #B8DD56

Accessibility & contrast

On white

3.29
#78991F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#78991F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78991F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78991F#FFFFFF#000000##000000
##78991F1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9E8D2C
Tritanopia (blue-blind)
#7E9183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #78991f;
/* rgb */ color: rgb(120, 153, 31);
/* oklch */ color: oklch(63.6% 0.147 124.3);
Tailwind
colors: {
  custom: {
    50: '#a3b766',
    500: '#78991f',
    950: '#000000',
  },
}
SCSS
$custom: #78991f;
$custom-light: #a3b766;
$custom-dark: #000000;
JSON
{
  "hex": "#78991f",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 76.23,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63571,
    "c": 0.14703,
    "h": 124.3
  },
  "luminance": 0.26874
}

Semantic roles & 50–950 ramp

primary
#78991F
secondary
#7154C0
accent
#3FE96D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #78991F

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

Preview Lab → · Contrast checker → · Palette generator →

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