#789A4E#789A4E

#789A4E is a light, moderate yellow-green. Relative luminance 0.277; OKLCH L 64.3% C 0.111 H 128.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#789A4E
RGBrgb(120, 154, 78)
HSLhsl(87, 33%, 45%)
HSVhsv(87, 49%, 60%)
CMYKcmyk(22.1%, 0%, 49.4%, 39.6%)
CIE-LABlab(59.57, -25.04, 35.89)
CIE-LCHlch(59.57, 43.76, 124.91°)
OKLaboklab(64.28% -0.0696 0.0861)
OKLCHoklch(64.28% 0.111 128.9)
XYZxyz(20.6763, 27.6540, 11.4547)
Luminance0.2765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A4E #704E9A
analogous
#9A964E #789A4E #529A4E
triadic
#789A4E #4E789A #9A4E78
tetradic
#789A4E #4E9A96 #704E9A #9A4E52
square
#789A4E #4E9A96 #704E9A #9A4E52
split-complementary
#789A4E #4E529A #964E9A
monochromatic
#394925 #587139 #789A4E #96B66F #B4CB98

Accessibility & contrast

On white

3.22
#789A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#789A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789A4E
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789A4E#FFFFFF#000000##000000
##789A4E1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09147
Deuteranopia (green-blind)
#9B8F53
Tritanopia (blue-blind)
#7B9488
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789a4e;
/* rgb */ color: rgb(120, 154, 78);
/* oklch */ color: oklch(64.3% 0.111 128.9);
Tailwind
colors: {
  custom: {
    50: '#a1b881',
    500: '#789a4e',
    950: '#000000',
  },
}
SCSS
$custom: #789a4e;
$custom-light: #a1b881;
$custom-dark: #000000;
JSON
{
  "hex": "#789a4e",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 78
  },
  "hsl": {
    "h": 86.842,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64284,
    "c": 0.11069,
    "h": 128.9
  },
  "luminance": 0.27654
}

Semantic roles & 50–950 ramp

primary
#789A4E
secondary
#A08DB7
accent
#5FC98E
background
#FAFBF8
surface
#F3F6EF
border
#CDD0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #789A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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