#789C2D#789C2D

#789C2D is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.4% C 0.143 H 125.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#789C2D
RGBrgb(120, 156, 45)
HSLhsl(79, 55%, 39%)
HSVhsv(79, 71%, 61%)
CMYKcmyk(23.1%, 0%, 71.2%, 38.8%)
CIE-LABlab(59.85, -29.02, 51.35)
CIE-LCHlch(59.85, 58.99, 119.47°)
OKLaboklab(64.4% -0.0835 0.1155)
OKLCHoklch(64.4% 0.143 125.9)
XYZxyz(20.1080, 27.9592, 6.8194)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789C2D #512D9C
analogous
#9C892D #789C2D #419C2D
triadic
#789C2D #2D789C #9C2D78
tetradic
#789C2D #2D9C89 #512D9C #9C2D41
square
#789C2D #2D9C89 #512D9C #9C2D41
split-complementary
#789C2D #2D419C #892D9C
monochromatic
#2F3D12 #536D1F #789C2D #9BC83F #B4D56E

Accessibility & contrast

On white

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

On black

6.59
#789C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789C2D
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789C2D#FFFFFF#000000##000000
##789C2D1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4921B
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#7D9586
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #789c2d;
/* rgb */ color: rgb(120, 156, 45);
/* oklch */ color: oklch(64.4% 0.143 125.9);
Tailwind
colors: {
  custom: {
    50: '#a2b96d',
    500: '#789c2d',
    950: '#000000',
  },
}
SCSS
$custom: #789c2d;
$custom-light: #a2b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#789c2d",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 79.459,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64402,
    "c": 0.14251,
    "h": 125.9
  },
  "luminance": 0.27959
}

Semantic roles & 50–950 ramp

primary
#789C2D
secondary
#8468BC
accent
#49DF7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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