#789B2D#789B2D

#789B2D is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.2% C 0.141 H 125.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#789B2D
RGBrgb(120, 155, 45)
HSLhsl(79, 55%, 39%)
HSVhsv(79, 71%, 61%)
CMYKcmyk(22.6%, 0%, 71%, 39.2%)
CIE-LABlab(59.55, -28.54, 51.05)
CIE-LCHlch(59.55, 58.48, 119.21°)
OKLaboklab(64.16% -0.0822 0.1148)
OKLCHoklch(64.16% 0.141 125.6)
XYZxyz(19.9408, 27.6250, 6.7637)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B2D #502D9B
analogous
#9B872D #789B2D #419B2D
triadic
#789B2D #2D789B #9B2D78
tetradic
#789B2D #2D9B87 #502D9B #9B2D41
square
#789B2D #2D9B87 #502D9B #9B2D41
split-complementary
#789B2D #2D419B #872D9B
monochromatic
#2F3C11 #536C1F #789B2D #9BC73E #B4D56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789B2D#FFFFFF#000000##000000
##789B2D1.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)
#A3911B
Deuteranopia (green-blind)
#9F8F36
Tritanopia (blue-blind)
#7D9485
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789b2d;
/* rgb */ color: rgb(120, 155, 45);
/* oklch */ color: oklch(64.2% 0.141 125.6);
Tailwind
colors: {
  custom: {
    50: '#a2b86d',
    500: '#789b2d',
    950: '#000000',
  },
}
SCSS
$custom: #789b2d;
$custom-light: #a2b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#789b2d",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 79.091,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64157,
    "c": 0.14122,
    "h": 125.6
  },
  "luminance": 0.27625
}

Semantic roles & 50–950 ramp

primary
#789B2D
secondary
#8368BC
accent
#49DE79
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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