#789D4E#789D4E

#789D4E is a light, moderate yellow-green. Relative luminance 0.287; OKLCH L 65.0% C 0.115 H 129.8°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#789D4E
RGBrgb(120, 157, 78)
HSLhsl(88, 34%, 46%)
HSVhsv(88, 50%, 62%)
CMYKcmyk(23.6%, 0%, 50.3%, 38.4%)
CIE-LABlab(60.48, -26.52, 36.99)
CIE-LCHlch(60.48, 45.51, 125.64°)
OKLaboklab(65.01% -0.0737 0.0885)
OKLCHoklch(65.01% 0.115 129.8)
XYZxyz(21.1776, 28.6566, 11.6218)
Luminance0.2866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D4E #734E9D
analogous
#9D9A4E #789D4E #509D4E
triadic
#789D4E #4E789D #9D4E78
tetradic
#789D4E #4E9D9A #734E9D #9D4E50
square
#789D4E #4E9D9A #734E9D #9D4E50
split-complementary
#789D4E #4E509D #9A4E9D
monochromatic
#394B25 #59743A #789D4E #96B870 #B4CC99

Accessibility & contrast

On white

3.12
#789D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#789D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D4E
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D4E#FFFFFF#000000##000000
##789D4E1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39447
Deuteranopia (green-blind)
#9E9153
Tritanopia (blue-blind)
#7A978B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789d4e;
/* rgb */ color: rgb(120, 157, 78);
/* oklch */ color: oklch(65.0% 0.115 129.8);
Tailwind
colors: {
  custom: {
    50: '#a1ba81',
    500: '#789d4e',
    950: '#000000',
  },
}
SCSS
$custom: #789d4e;
$custom-light: #a1ba81;
$custom-dark: #000000;
JSON
{
  "hex": "#789d4e",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 78
  },
  "hsl": {
    "h": 88.101,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.65013,
    "c": 0.11518,
    "h": 129.8
  },
  "luminance": 0.28657
}

Semantic roles & 50–950 ramp

primary
#789D4E
secondary
#A28EB9
accent
#5ECA90
background
#FAFBF8
surface
#F3F6EF
border
#CDD0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #789D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#789D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva