#789C22#789C22

#789C22 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.3% C 0.149 H 125.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#789C22
RGBrgb(120, 156, 34)
HSLhsl(78, 64%, 37%)
HSVhsv(78, 78%, 61%)
CMYKcmyk(23.1%, 0%, 78.2%, 38.8%)
CIE-LABlab(59.78, -29.65, 55.21)
CIE-LCHlch(59.78, 62.67, 118.23°)
OKLaboklab(64.33% -0.0861 0.1218)
OKLCHoklch(64.33% 0.149 125.3)
XYZxyz(19.9231, 27.8852, 5.8458)
Luminance0.2788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789C22 #46229C
analogous
#9C8322 #789C22 #3B9C22
triadic
#789C22 #22789C #9C2278
tetradic
#789C22 #229C83 #46229C #9C223B
square
#789C22 #229C83 #46229C #9C223B
split-complementary
#789C22 #223B9C #83229C
monochromatic
#2B380C #516A17 #789C22 #9FCE2D #B6DC5D

Accessibility & contrast

On white

3.19
#789C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#789C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789C22
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789C22#FFFFFF#000000##000000
##789C221.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#7E9485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #789c22;
/* rgb */ color: rgb(120, 156, 34);
/* oklch */ color: oklch(64.3% 0.149 125.3);
Tailwind
colors: {
  custom: {
    50: '#a3b968',
    500: '#789c22',
    950: '#000000',
  },
}
SCSS
$custom: #789c22;
$custom-light: #a3b968;
$custom-dark: #000000;
JSON
{
  "hex": "#789c22",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 77.705,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64327,
    "c": 0.14917,
    "h": 125.3
  },
  "luminance": 0.27885
}

Semantic roles & 50–950 ramp

primary
#789C22
secondary
#785AC0
accent
#41E772
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789C22

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

Preview Lab → · Contrast checker → · Palette generator →

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