#78902A#78902A

#78902A is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.4% C 0.129 H 121.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#78902A
RGBrgb(120, 144, 42)
HSLhsl(74, 55%, 36%)
HSVhsv(74, 71%, 56%)
CMYKcmyk(16.7%, 0%, 70.8%, 43.5%)
CIE-LABlab(56.19, -23.32, 48.84)
CIE-LCHlch(56.19, 54.13, 115.52°)
OKLaboklab(61.44% -0.0681 0.1097)
OKLCHoklch(61.44% 0.129 121.8)
XYZxyz(18.1372, 24.1067, 5.8876)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78902A #422A90
analogous
#90752A #78902A #45902A
triadic
#78902A #2A7890 #902A78
tetradic
#78902A #2A9075 #422A90 #902A45
square
#78902A #2A9075 #422A90 #902A45
split-complementary
#78902A #2A4590 #752A90
monochromatic
#29310E #51611C #78902A #9FBF38 #B7D163

Accessibility & contrast

On white

3.61
#78902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#78902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78902A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78902A#FFFFFF#000000##000000
##78902A1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871A
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#7E897C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #78902a;
/* rgb */ color: rgb(120, 144, 42);
/* oklch */ color: oklch(61.4% 0.129 121.8);
Tailwind
colors: {
  custom: {
    50: '#a2b06a',
    500: '#78902a',
    950: '#000000',
  },
}
SCSS
$custom: #78902a;
$custom-light: #a2b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#78902a",
  "rgb": {
    "r": 120,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 74.118,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6144,
    "c": 0.12915,
    "h": 121.8
  },
  "luminance": 0.24107
}

Semantic roles & 50–950 ramp

primary
#78902A
secondary
#735EB7
accent
#4ADE6D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #78902A

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

Preview Lab → · Contrast checker → · Palette generator →

#78902A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva