#789D24#789D24

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

Color values

HEX#789D24
RGBrgb(120, 157, 36)
HSLhsl(78, 63%, 38%)
HSVhsv(78, 77%, 62%)
CMYKcmyk(23.6%, 0%, 77.1%, 38.4%)
CIE-LABlab(60.10, -30.02, 54.85)
CIE-LCHlch(60.10, 62.53, 118.69°)
OKLaboklab(64.59% -0.087 0.1214)
OKLCHoklch(64.59% 0.149 125.6)
XYZxyz(20.1213, 28.2341, 6.0584)
Luminance0.2823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D24 #49249D
analogous
#9D8524 #789D24 #3C9D24
triadic
#789D24 #24789D #9D2478
tetradic
#789D24 #249D85 #49249D #9D243C
square
#789D24 #249D85 #49249D #9D243C
split-complementary
#789D24 #243C9D #85249D
monochromatic
#2C390D #526B19 #789D24 #9ECF2F #B5DB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789D24#FFFFFF#000000##000000
##789D241.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)
#A69205
Deuteranopia (green-blind)
#A19030
Tritanopia (blue-blind)
#7D9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d24;
/* rgb */ color: rgb(120, 157, 36);
/* oklch */ color: oklch(64.6% 0.149 125.6);
Tailwind
colors: {
  custom: {
    50: '#a3ba69',
    500: '#789d24',
    950: '#000000',
  },
}
SCSS
$custom: #789d24;
$custom-light: #a3ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#789d24",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 36
  },
  "hsl": {
    "h": 78.347,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64585,
    "c": 0.14933,
    "h": 125.6
  },
  "luminance": 0.28234
}

Semantic roles & 50–950 ramp

primary
#789D24
secondary
#7B5DC0
accent
#42E674
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789D24

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

Preview Lab → · Contrast checker → · Palette generator →

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