#789E26#789E26

#789E26 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.8% C 0.149 H 126.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#789E26
RGBrgb(120, 158, 38)
HSLhsl(79, 61%, 38%)
HSVhsv(79, 76%, 62%)
CMYKcmyk(24.1%, 0%, 75.9%, 38%)
CIE-LABlab(60.41, -30.39, 54.47)
CIE-LCHlch(60.41, 62.38, 119.16°)
OKLaboklab(64.85% -0.0878 0.1209)
OKLCHoklch(64.85% 0.149 126)
XYZxyz(20.3226, 28.5864, 6.2804)
Luminance0.2859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E26 #4C269E
analogous
#9E8826 #789E26 #3C9E26
triadic
#789E26 #26789E #9E2678
tetradic
#789E26 #269E88 #4C269E #9E263C
square
#789E26 #269E88 #4C269E #9E263C
split-complementary
#789E26 #263C9E #88269E
monochromatic
#2D3B0E #536D1A #789E26 #9DCE33 #B5DA65

Accessibility & contrast

On white

3.13
#789E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#789E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789E26
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789E26#FFFFFF#000000##000000
##789E261.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930B
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#7D9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789e26;
/* rgb */ color: rgb(120, 158, 38);
/* oklch */ color: oklch(64.8% 0.149 126.0);
Tailwind
colors: {
  custom: {
    50: '#a3ba6a',
    500: '#789e26',
    950: '#000000',
  },
}
SCSS
$custom: #789e26;
$custom-light: #a3ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#789e26",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 38
  },
  "hsl": {
    "h": 79,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64845,
    "c": 0.14946,
    "h": 126
  },
  "luminance": 0.28587
}

Semantic roles & 50–950 ramp

primary
#789E26
secondary
#7E60C0
accent
#43E476
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789E26

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

Preview Lab → · Contrast checker → · Palette generator →

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