#789F24#789F24

#789F24 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.1% C 0.152 H 126.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#789F24
RGBrgb(120, 159, 36)
HSLhsl(79, 63%, 38%)
HSVhsv(79, 77%, 62%)
CMYKcmyk(24.5%, 0%, 77.4%, 37.6%)
CIE-LABlab(60.71, -30.97, 55.43)
CIE-LCHlch(60.71, 63.49, 119.19°)
OKLaboklab(65.08% -0.0896 0.1226)
OKLCHoklch(65.08% 0.152 126.2)
XYZxyz(20.4624, 28.9164, 6.1721)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F24 #4B249F
analogous
#9F8824 #789F24 #3B9F24
triadic
#789F24 #24789F #9F2478
tetradic
#789F24 #249F88 #4B249F #9F243B
square
#789F24 #249F88 #4B249F #9F243B
split-complementary
#789F24 #243B9F #88249F
monochromatic
#2D3B0D #526D19 #789F24 #9DD030 #B5DB62

Accessibility & contrast

On white

3.10
#789F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#789F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789F24
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789F24#FFFFFF#000000##000000
##789F241.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89404
Deuteranopia (green-blind)
#A29230
Tritanopia (blue-blind)
#7D9788
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789f24;
/* rgb */ color: rgb(120, 159, 36);
/* oklch */ color: oklch(65.1% 0.152 126.2);
Tailwind
colors: {
  custom: {
    50: '#a3bb69',
    500: '#789f24',
    950: '#000000',
  },
}
SCSS
$custom: #789f24;
$custom-light: #a3bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#789f24",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 36
  },
  "hsl": {
    "h": 79.024,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65078,
    "c": 0.15182,
    "h": 126.2
  },
  "luminance": 0.28917
}

Semantic roles & 50–950 ramp

primary
#789F24
secondary
#7D5EC1
accent
#42E676
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #789F24

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

Preview Lab → · Contrast checker → · Palette generator →

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