#78972B#78972B

#78972B is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 63.2% C 0.137 H 124.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#78972B
RGBrgb(120, 151, 43)
HSLhsl(77, 56%, 38%)
HSVhsv(77, 72%, 59%)
CMYKcmyk(20.5%, 0%, 71.5%, 40.8%)
CIE-LABlab(58.32, -26.73, 50.59)
CIE-LCHlch(58.32, 57.22, 117.85°)
OKLaboklab(63.16% -0.0774 0.1136)
OKLCHoklch(63.16% 0.137 124.3)
XYZxyz(19.2486, 26.3005, 6.3475)
Luminance0.2630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78972B #4A2B97
analogous
#97802B #78972B #42972B
triadic
#78972B #2B7897 #972B78
tetradic
#78972B #2B9780 #4A2B97 #972B42
square
#78972B #2B9780 #4A2B97 #972B42
split-complementary
#78972B #2B4297 #802B97
monochromatic
#2C3810 #52671D #78972B #9EC739 #B5D468

Accessibility & contrast

On white

3.35
#78972B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#78972B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78972B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78972B#FFFFFF#000000##000000
##78972B1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D19
Deuteranopia (green-blind)
#9B8C34
Tritanopia (blue-blind)
#7E9082
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #78972b;
/* rgb */ color: rgb(120, 151, 43);
/* oklch */ color: oklch(63.2% 0.137 124.3);
Tailwind
colors: {
  custom: {
    50: '#a2b56b',
    500: '#78972b',
    950: '#000000',
  },
}
SCSS
$custom: #78972b;
$custom-light: #a2b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#78972b",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 77.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63159,
    "c": 0.13743,
    "h": 124.3
  },
  "luminance": 0.26301
}

Semantic roles & 50–950 ramp

primary
#78972B
secondary
#7C63BB
accent
#49DF74
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #78972B

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

Preview Lab → · Contrast checker → · Palette generator →

#78972B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva