#789D22#789D22

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

Color values

HEX#789D22
RGBrgb(120, 157, 34)
HSLhsl(78, 64%, 37%)
HSVhsv(78, 78%, 62%)
CMYKcmyk(23.6%, 0%, 78.3%, 38.4%)
CIE-LABlab(60.09, -30.12, 55.50)
CIE-LCHlch(60.09, 63.14, 118.49°)
OKLaboklab(64.57% -0.0874 0.1224)
OKLCHoklch(64.57% 0.15 125.5)
XYZxyz(20.0916, 28.2222, 5.9020)
Luminance0.2822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D22 #47229D
analogous
#9D8522 #789D22 #3A9D22
triadic
#789D22 #22789D #9D2278
tetradic
#789D22 #229D85 #47229D #9D223A
square
#789D22 #229D85 #47229D #9D223A
split-complementary
#789D22 #223A9D #85229D
monochromatic
#2B380C #526B17 #789D22 #9ECF2D #B6DC5D

Accessibility & contrast

On white

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

On black

6.64
#789D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D22
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D22#FFFFFF#000000##000000
##789D221.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A1902E
Tritanopia (blue-blind)
#7E9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d22;
/* rgb */ color: rgb(120, 157, 34);
/* oklch */ color: oklch(64.6% 0.150 125.5);
Tailwind
colors: {
  custom: {
    50: '#a3ba68',
    500: '#789d22',
    950: '#000000',
  },
}
SCSS
$custom: #789d22;
$custom-light: #a3ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#789d22",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 78.049,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64573,
    "c": 0.15041,
    "h": 125.5
  },
  "luminance": 0.28223
}

Semantic roles & 50–950 ramp

primary
#789D22
secondary
#795AC1
accent
#40E773
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789D22

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

Preview Lab → · Contrast checker → · Palette generator →

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