#789C2E#789C2E

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

Color values

HEX#789C2E
RGBrgb(120, 156, 46)
HSLhsl(80, 54%, 40%)
HSVhsv(80, 71%, 61%)
CMYKcmyk(23.1%, 0%, 70.5%, 38.8%)
CIE-LABlab(59.86, -28.95, 50.97)
CIE-LCHlch(59.86, 58.62, 119.60°)
OKLaboklab(64.41% -0.0832 0.1148)
OKLCHoklch(64.41% 0.142 125.9)
XYZxyz(20.1274, 27.9670, 6.9220)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789C2E #522E9C
analogous
#9C892E #789C2E #419C2E
triadic
#789C2E #2E789C #9C2E78
tetradic
#789C2E #2E9C89 #522E9C #9C2E41
square
#789C2E #2E9C89 #522E9C #9C2E41
split-complementary
#789C2E #2E419C #892E9C
monochromatic
#2F3D12 #546D20 #789C2E #9BC740 #B4D570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789C2E#FFFFFF#000000##000000
##789C2E1.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)
#A4921D
Deuteranopia (green-blind)
#9F9037
Tritanopia (blue-blind)
#7D9586
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #789c2e;
/* rgb */ color: rgb(120, 156, 46);
/* oklch */ color: oklch(64.4% 0.142 125.9);
Tailwind
colors: {
  custom: {
    50: '#a2b96e',
    500: '#789c2e',
    950: '#000000',
  },
}
SCSS
$custom: #789c2e;
$custom-light: #a2b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#789c2e",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 79.636,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6441,
    "c": 0.14182,
    "h": 125.9
  },
  "luminance": 0.27967
}

Semantic roles & 50–950 ramp

primary
#789C2E
secondary
#856ABC
accent
#4ADE7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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