#789A26#789A26

#789A26 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.144 H 124.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#789A26
RGBrgb(120, 154, 38)
HSLhsl(78, 60%, 38%)
HSVhsv(78, 75%, 60%)
CMYKcmyk(22.1%, 0%, 75.3%, 39.6%)
CIE-LABlab(59.20, -28.48, 53.31)
CIE-LCHlch(59.20, 60.44, 118.11°)
OKLaboklab(63.86% -0.0826 0.1185)
OKLCHoklch(63.86% 0.144 124.9)
XYZxyz(19.6513, 27.2440, 6.0567)
Luminance0.2724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A26 #48269A
analogous
#9A8226 #789A26 #3E9A26
triadic
#789A26 #26789A #9A2678
tetradic
#789A26 #269A82 #48269A #9A263E
square
#789A26 #269A82 #48269A #9A263E
split-complementary
#789A26 #263E9A #82269A
monochromatic
#2C380E #52691A #789A26 #9ECB32 #B6D862

Accessibility & contrast

On white

3.26
#789A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#789A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789A26
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789A26#FFFFFF#000000##000000
##789A261.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900D
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#7E9284
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789a26;
/* rgb */ color: rgb(120, 154, 38);
/* oklch */ color: oklch(63.9% 0.144 124.9);
Tailwind
colors: {
  custom: {
    50: '#a2b869',
    500: '#789a26',
    950: '#000000',
  },
}
SCSS
$custom: #789a26;
$custom-light: #a2b869;
$custom-dark: #000000;
JSON
{
  "hex": "#789a26",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 38
  },
  "hsl": {
    "h": 77.586,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6386,
    "c": 0.14442,
    "h": 124.9
  },
  "luminance": 0.27244
}

Semantic roles & 50–950 ramp

primary
#789A26
secondary
#7A5EBE
accent
#44E473
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789A26

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

Preview Lab → · Contrast checker → · Palette generator →

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