#789B28#789B28

#789B28 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.1% C 0.144 H 125.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#789B28
RGBrgb(120, 155, 40)
HSLhsl(78, 59%, 38%)
HSVhsv(78, 74%, 61%)
CMYKcmyk(22.6%, 0%, 74.2%, 39.2%)
CIE-LABlab(59.52, -28.85, 52.90)
CIE-LCHlch(59.52, 60.25, 118.60°)
OKLaboklab(64.12% -0.0835 0.1179)
OKLCHoklch(64.12% 0.144 125.3)
XYZxyz(19.8502, 27.5887, 6.2864)
Luminance0.2759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B28 #4B289B
analogous
#9B8428 #789B28 #3E9B28
triadic
#789B28 #28789B #9B2878
tetradic
#789B28 #289B84 #4B289B #9B283E
square
#789B28 #289B84 #4B289B #9B283E
split-complementary
#789B28 #283E9B #84289B
monochromatic
#2D3A0F #526A1B #789B28 #9DCB35 #B5D766

Accessibility & contrast

On white

3.22
#789B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#789B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789B28
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789B28#FFFFFF#000000##000000
##789B281.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49111
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#7E9385
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789b28;
/* rgb */ color: rgb(120, 155, 40);
/* oklch */ color: oklch(64.1% 0.144 125.3);
Tailwind
colors: {
  custom: {
    50: '#a2b86a',
    500: '#789b28',
    950: '#000000',
  },
}
SCSS
$custom: #789b28;
$custom-light: #a2b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#789b28",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 40
  },
  "hsl": {
    "h": 78.261,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64119,
    "c": 0.14447,
    "h": 125.3
  },
  "luminance": 0.27589
}

Semantic roles & 50–950 ramp

primary
#789B28
secondary
#7D61BD
accent
#46E275
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789B28

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

Preview Lab → · Contrast checker → · Palette generator →

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