#789D26#789D26

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

Color values

HEX#789D26
RGBrgb(120, 157, 38)
HSLhsl(79, 61%, 38%)
HSVhsv(79, 76%, 62%)
CMYKcmyk(23.6%, 0%, 75.8%, 38.4%)
CIE-LABlab(60.11, -29.91, 54.18)
CIE-LCHlch(60.11, 61.89, 118.90°)
OKLaboklab(64.6% -0.0865 0.1203)
OKLCHoklch(64.6% 0.148 125.7)
XYZxyz(20.1527, 28.2467, 6.2238)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D26 #4B269D
analogous
#9D8626 #789D26 #3D9D26
triadic
#789D26 #26789D #9D2678
tetradic
#789D26 #269D86 #4B269D #9D263D
square
#789D26 #269D86 #4B269D #9D263D
split-complementary
#789D26 #263D9D #86269D
monochromatic
#2D3A0E #526C1A #789D26 #9DCE33 #B5D964

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789D26#FFFFFF#000000##000000
##789D261.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)
#A6920B
Deuteranopia (green-blind)
#A19031
Tritanopia (blue-blind)
#7D9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d26;
/* rgb */ color: rgb(120, 157, 38);
/* oklch */ color: oklch(64.6% 0.148 125.7);
Tailwind
colors: {
  custom: {
    50: '#a3ba6a',
    500: '#789d26',
    950: '#000000',
  },
}
SCSS
$custom: #789d26;
$custom-light: #a3ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#789d26",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 38
  },
  "hsl": {
    "h": 78.655,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64598,
    "c": 0.14819,
    "h": 125.7
  },
  "luminance": 0.28247
}

Semantic roles & 50–950 ramp

primary
#789D26
secondary
#7D60BF
accent
#44E476
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789D26

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

Preview Lab → · Contrast checker → · Palette generator →

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