#789D2D#789D2D

#789D2D is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.6% C 0.144 H 126.1°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#789D2D
RGBrgb(120, 157, 45)
HSLhsl(80, 55%, 40%)
HSVhsv(80, 71%, 62%)
CMYKcmyk(23.6%, 0%, 71.3%, 38.4%)
CIE-LABlab(60.16, -29.50, 51.66)
CIE-LCHlch(60.16, 59.49, 119.73°)
OKLaboklab(64.65% -0.0848 0.1161)
OKLCHoklch(64.65% 0.144 126.1)
XYZxyz(20.2764, 28.2962, 6.8756)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D2D #522D9D
analogous
#9D8A2D #789D2D #409D2D
triadic
#789D2D #2D789D #9D2D78
tetradic
#789D2D #2D9D8A #522D9D #9D2D40
square
#789D2D #2D9D8A #522D9D #9D2D40
split-complementary
#789D2D #2D409D #8A2D9D
monochromatic
#2F3E12 #546D1F #789D2D #9BC83F #B4D66F

Accessibility & contrast

On white

3.15
#789D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#789D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D2D
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D2D#FFFFFF#000000##000000
##789D2D1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921B
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#7D9687
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d2d;
/* rgb */ color: rgb(120, 157, 45);
/* oklch */ color: oklch(64.6% 0.144 126.1);
Tailwind
colors: {
  custom: {
    50: '#a2ba6d',
    500: '#789d2d',
    950: '#000000',
  },
}
SCSS
$custom: #789d2d;
$custom-light: #a2ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#789d2d",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 79.821,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64648,
    "c": 0.1438,
    "h": 126.1
  },
  "luminance": 0.28296
}

Semantic roles & 50–950 ramp

primary
#789D2D
secondary
#8569BD
accent
#49DF7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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