#789E1A#789E1A

#789E1A is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.8% C 0.155 H 125.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#789E1A
RGBrgb(120, 158, 26)
HSLhsl(77, 72%, 36%)
HSVhsv(77, 84%, 62%)
CMYKcmyk(24.1%, 0%, 83.5%, 38%)
CIE-LABlab(60.36, -30.94, 58.08)
CIE-LCHlch(60.36, 65.81, 118.05°)
OKLaboklab(64.78% -0.0902 0.1265)
OKLCHoklch(64.78% 0.155 125.5)
XYZxyz(20.1592, 28.5211, 5.4201)
Luminance0.2852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E1A #401A9E
analogous
#9E821A #789E1A #369E1A
triadic
#789E1A #1A789E #9E1A78
tetradic
#789E1A #1A9E82 #401A9E #9E1A36
square
#789E1A #1A9E82 #401A9E #9E1A36
split-complementary
#789E1A #1A369E #821A9E
monochromatic
#283509 #506911 #789E1A #A0D323 #B8E250

Accessibility & contrast

On white

3.13
#789E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#789E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789E1A
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789E1A#FFFFFF#000000##000000
##789E1A1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#7E9687
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789e1a;
/* rgb */ color: rgb(120, 158, 26);
/* oklch */ color: oklch(64.8% 0.155 125.5);
Tailwind
colors: {
  custom: {
    50: '#a3ba65',
    500: '#789e1a',
    950: '#000000',
  },
}
SCSS
$custom: #789e1a;
$custom-light: #a3ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#789e1a",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 77.273,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64779,
    "c": 0.1554,
    "h": 125.5
  },
  "luminance": 0.28521
}

Semantic roles & 50–950 ramp

primary
#789E1A
secondary
#714FC5
accent
#39EE6D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #789E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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