#789E24#789E24

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

Color values

HEX#789E24
RGBrgb(120, 158, 36)
HSLhsl(79, 63%, 38%)
HSVhsv(79, 77%, 62%)
CMYKcmyk(24.1%, 0%, 77.2%, 38%)
CIE-LABlab(60.40, -30.49, 55.14)
CIE-LCHlch(60.40, 63.01, 118.94°)
OKLaboklab(64.83% -0.0883 0.122)
OKLCHoklch(64.83% 0.151 125.9)
XYZxyz(20.2912, 28.5739, 6.1150)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E24 #4A249E
analogous
#9E8724 #789E24 #3B9E24
triadic
#789E24 #24789E #9E2478
tetradic
#789E24 #249E87 #4A249E #9E243B
square
#789E24 #249E87 #4A249E #9E243B
split-complementary
#789E24 #243B9E #87249E
monochromatic
#2C3A0D #526C19 #789E24 #9ED02F #B5DB61

Accessibility & contrast

On white

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

On black

6.71
#789E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789E24
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789E24#FFFFFF#000000##000000
##789E241.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #789e24;
/* rgb */ color: rgb(120, 158, 36);
/* oklch */ color: oklch(64.8% 0.151 125.9);
Tailwind
colors: {
  custom: {
    50: '#a3ba69',
    500: '#789e24',
    950: '#000000',
  },
}
SCSS
$custom: #789e24;
$custom-light: #a3ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#789e24",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 36
  },
  "hsl": {
    "h": 78.689,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64832,
    "c": 0.15057,
    "h": 125.9
  },
  "luminance": 0.28574
}

Semantic roles & 50–950 ramp

primary
#789E24
secondary
#7C5EC0
accent
#42E675
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789E24

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

Preview Lab → · Contrast checker → · Palette generator →

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