#789C28#789C28

#789C28 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.4% C 0.146 H 125.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#789C28
RGBrgb(120, 156, 40)
HSLhsl(79, 59%, 38%)
HSVhsv(79, 74%, 61%)
CMYKcmyk(23.1%, 0%, 74.4%, 38.8%)
CIE-LABlab(59.82, -29.33, 53.20)
CIE-LCHlch(59.82, 60.74, 118.87°)
OKLaboklab(64.37% -0.0848 0.1186)
OKLCHoklch(64.37% 0.146 125.6)
XYZxyz(20.0173, 27.9229, 6.3421)
Luminance0.2792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789C28 #4C289C
analogous
#9C8628 #789C28 #3E9C28
triadic
#789C28 #28789C #9C2878
tetradic
#789C28 #289C86 #4C289C #9C283E
square
#789C28 #289C86 #4C289C #9C283E
split-complementary
#789C28 #283E9C #86289C
monochromatic
#2D3B0F #536B1C #789C28 #9DCB36 #B5D867

Accessibility & contrast

On white

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

On black

6.58
#789C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789C28
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789C28#FFFFFF#000000##000000
##789C281.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59111
Deuteranopia (green-blind)
#A09033
Tritanopia (blue-blind)
#7D9486
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #789c28;
/* rgb */ color: rgb(120, 156, 40);
/* oklch */ color: oklch(64.4% 0.146 125.6);
Tailwind
colors: {
  custom: {
    50: '#a2b96a',
    500: '#789c28',
    950: '#000000',
  },
}
SCSS
$custom: #789c28;
$custom-light: #a2b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#789c28",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 78.621,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64365,
    "c": 0.14574,
    "h": 125.6
  },
  "luminance": 0.27923
}

Semantic roles & 50–950 ramp

primary
#789C28
secondary
#7E62BE
accent
#45E276
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789C28

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

Preview Lab → · Contrast checker → · Palette generator →

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