#789B45#789B45

#789B45 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.4% C 0.121 H 127.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#789B45
RGBrgb(120, 155, 69)
HSLhsl(84, 38%, 44%)
HSVhsv(84, 55%, 61%)
CMYKcmyk(22.6%, 0%, 55.5%, 39.2%)
CIE-LABlab(59.77, -26.53, 40.62)
CIE-LCHlch(59.77, 48.52, 123.15°)
OKLaboklab(64.4% -0.0744 0.0957)
OKLCHoklch(64.4% 0.121 127.9)
XYZxyz(20.5412, 27.8651, 9.9254)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B45 #68459B
analogous
#9B9345 #789B45 #4D9B45
triadic
#789B45 #45789B #9B4578
tetradic
#789B45 #459B93 #68459B #9B454D
square
#789B45 #459B93 #68459B #9B454D
split-complementary
#789B45 #454D9B #93459B
monochromatic
#36461F #577132 #789B45 #97BA63 #B3CD8E

Accessibility & contrast

On white

3.19
#789B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#789B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789B45
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789B45#FFFFFF#000000##000000
##789B451.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2913D
Deuteranopia (green-blind)
#9D8F4B
Tritanopia (blue-blind)
#7C9588
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #789b45;
/* rgb */ color: rgb(120, 155, 69);
/* oklch */ color: oklch(64.4% 0.121 127.9);
Tailwind
colors: {
  custom: {
    50: '#a1b87b',
    500: '#789b45',
    950: '#000000',
  },
}
SCSS
$custom: #789b45;
$custom-light: #a1b87b;
$custom-dark: #000000;
JSON
{
  "hex": "#789b45",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 69
  },
  "hsl": {
    "h": 84.419,
    "s": 38.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.64403,
    "c": 0.12126,
    "h": 127.9
  },
  "luminance": 0.27865
}

Semantic roles & 50–950 ramp

primary
#789B45
secondary
#9984B8
accent
#59CE89
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #789B45

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

Preview Lab → · Contrast checker → · Palette generator →

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