#789E38#789E38

#789E38 is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 65.0% C 0.137 H 127.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#789E38
RGBrgb(120, 158, 56)
HSLhsl(82, 48%, 42%)
HSVhsv(82, 65%, 62%)
CMYKcmyk(24.1%, 0%, 64.6%, 38%)
CIE-LABlab(60.54, -29.17, 47.53)
CIE-LCHlch(60.54, 55.76, 121.54°)
OKLaboklab(64.99% -0.0829 0.109)
OKLCHoklch(64.99% 0.137 127.3)
XYZxyz(20.6864, 28.7319, 8.1966)
Luminance0.2873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E38 #5E389E
analogous
#9E9138 #789E38 #459E38
triadic
#789E38 #38789E #9E3878
tetradic
#789E38 #389E91 #5E389E #9E3845
square
#789E38 #389E91 #5E389E #9E3845
split-complementary
#789E38 #38459E #91389E
monochromatic
#334418 #567128 #789E38 #98C252 #B3D27F

Accessibility & contrast

On white

3.11
#789E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#789E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789E38
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789E38#FFFFFF#000000##000000
##789E381.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942B
Deuteranopia (green-blind)
#A19140
Tritanopia (blue-blind)
#7C9789
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789e38;
/* rgb */ color: rgb(120, 158, 56);
/* oklch */ color: oklch(65.0% 0.137 127.3);
Tailwind
colors: {
  custom: {
    50: '#a2ba73',
    500: '#789e38',
    950: '#000000',
  },
}
SCSS
$custom: #789e38;
$custom-light: #a2ba73;
$custom-dark: #000000;
JSON
{
  "hex": "#789e38",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 56
  },
  "hsl": {
    "h": 82.353,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64991,
    "c": 0.13697,
    "h": 127.3
  },
  "luminance": 0.28732
}

Semantic roles & 50–950 ramp

primary
#789E38
secondary
#9077BB
accent
#51D783
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789E38

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

Preview Lab → · Contrast checker → · Palette generator →

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