#789D45#789D45

#789D45 is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.9% C 0.124 H 128.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#789D45
RGBrgb(120, 157, 69)
HSLhsl(85, 39%, 44%)
HSVhsv(85, 56%, 62%)
CMYKcmyk(23.6%, 0%, 56.1%, 38.4%)
CIE-LABlab(60.37, -27.50, 41.33)
CIE-LCHlch(60.37, 49.64, 123.64°)
OKLaboklab(64.89% -0.0771 0.0973)
OKLCHoklch(64.89% 0.124 128.4)
XYZxyz(20.8768, 28.5363, 10.0372)
Luminance0.2854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D45 #6A459D
analogous
#9D9645 #789D45 #4C9D45
triadic
#789D45 #45789D #9D4578
tetradic
#789D45 #459D96 #6A459D #9D454C
square
#789D45 #459D96 #6A459D #9D454C
split-complementary
#789D45 #454C9D #96459D
monochromatic
#374820 #587232 #789D45 #97BB64 #B3CE8F

Accessibility & contrast

On white

3.13
#789D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#789D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D45
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D45#FFFFFF#000000##000000
##789D451.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4933C
Deuteranopia (green-blind)
#9F914B
Tritanopia (blue-blind)
#7B9789
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789d45;
/* rgb */ color: rgb(120, 157, 69);
/* oklch */ color: oklch(64.9% 0.124 128.4);
Tailwind
colors: {
  custom: {
    50: '#a1ba7b',
    500: '#789d45',
    950: '#000000',
  },
}
SCSS
$custom: #789d45;
$custom-light: #a1ba7b;
$custom-dark: #000000;
JSON
{
  "hex": "#789d45",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 69
  },
  "hsl": {
    "h": 85.227,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.64891,
    "c": 0.12413,
    "h": 128.4
  },
  "luminance": 0.28537
}

Semantic roles & 50–950 ramp

primary
#789D45
secondary
#9B85B9
accent
#59CF8B
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #789D45

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

Preview Lab → · Contrast checker → · Palette generator →

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