#789B4E#789B4E

#789B4E is a light, moderate yellow-green. Relative luminance 0.280; OKLCH L 64.5% C 0.112 H 129.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#789B4E
RGBrgb(120, 155, 78)
HSLhsl(87, 33%, 46%)
HSVhsv(87, 50%, 61%)
CMYKcmyk(22.6%, 0%, 49.7%, 39.2%)
CIE-LABlab(59.88, -25.54, 36.25)
CIE-LCHlch(59.88, 44.35, 125.16°)
OKLaboklab(64.53% -0.0709 0.0869)
OKLCHoklch(64.53% 0.112 129.2)
XYZxyz(20.8420, 27.9854, 11.5099)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B4E #714E9B
analogous
#9B974E #789B4E #519B4E
triadic
#789B4E #4E789B #9B4E78
tetradic
#789B4E #4E9B97 #714E9B #9B4E51
square
#789B4E #4E9B97 #714E9B #9B4E51
split-complementary
#789B4E #4E519B #974E9B
monochromatic
#394A25 #58723A #789B4E #96B76F #B4CB98

Accessibility & contrast

On white

3.18
#789B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#789B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789B4E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789B4E#FFFFFF#000000##000000
##789B4E1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19247
Deuteranopia (green-blind)
#9C8F53
Tritanopia (blue-blind)
#7B9589
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #789b4e;
/* rgb */ color: rgb(120, 155, 78);
/* oklch */ color: oklch(64.5% 0.112 129.2);
Tailwind
colors: {
  custom: {
    50: '#a1b881',
    500: '#789b4e',
    950: '#000000',
  },
}
SCSS
$custom: #789b4e;
$custom-light: #a1b881;
$custom-dark: #000000;
JSON
{
  "hex": "#789b4e",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 78
  },
  "hsl": {
    "h": 87.273,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.64527,
    "c": 0.11219,
    "h": 129.2
  },
  "luminance": 0.27986
}

Semantic roles & 50–950 ramp

primary
#789B4E
secondary
#A08DB8
accent
#5FC98F
background
#FAFBF8
surface
#F3F6EF
border
#CDD0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #789B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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