#789D28#789D28

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

Color values

HEX#789D28
RGBrgb(120, 157, 40)
HSLhsl(79, 59%, 39%)
HSVhsv(79, 75%, 62%)
CMYKcmyk(23.6%, 0%, 74.5%, 38.4%)
CIE-LABlab(60.12, -29.80, 53.49)
CIE-LCHlch(60.12, 61.23, 119.12°)
OKLaboklab(64.61% -0.0861 0.1192)
OKLCHoklch(64.61% 0.147 125.8)
XYZxyz(20.1858, 28.2599, 6.3983)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D28 #4D289D
analogous
#9D8728 #789D28 #3D9D28
triadic
#789D28 #28789D #9D2878
tetradic
#789D28 #289D87 #4D289D #9D283D
square
#789D28 #289D87 #4D289D #9D283D
split-complementary
#789D28 #283D9D #87289D
monochromatic
#2D3B0F #536C1C #789D28 #9DCC36 #B5D867

Accessibility & contrast

On white

3.16
#789D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#789D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D28
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D28#FFFFFF#000000##000000
##789D281.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69210
Deuteranopia (green-blind)
#A19033
Tritanopia (blue-blind)
#7D9587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d28;
/* rgb */ color: rgb(120, 157, 40);
/* oklch */ color: oklch(64.6% 0.147 125.8);
Tailwind
colors: {
  custom: {
    50: '#a2ba6b',
    500: '#789d28',
    950: '#000000',
  },
}
SCSS
$custom: #789d28;
$custom-light: #a2ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#789d28",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 40
  },
  "hsl": {
    "h": 78.974,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64612,
    "c": 0.14701,
    "h": 125.8
  },
  "luminance": 0.2826
}

Semantic roles & 50–950 ramp

primary
#789D28
secondary
#7F62BE
accent
#45E377
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789D28

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

Preview Lab → · Contrast checker → · Palette generator →

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