#789C20#789C20

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

Color values

HEX#789C20
RGBrgb(120, 156, 32)
HSLhsl(77, 66%, 37%)
HSVhsv(77, 79%, 61%)
CMYKcmyk(23.1%, 0%, 79.5%, 38.8%)
CIE-LABlab(59.77, -29.74, 55.84)
CIE-LCHlch(59.77, 63.26, 118.04°)
OKLaboklab(64.32% -0.0865 0.1228)
OKLCHoklch(64.32% 0.15 125.2)
XYZxyz(19.8951, 27.8740, 5.6983)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789C20 #44209C
analogous
#9C8220 #789C20 #3A9C20
triadic
#789C20 #20789C #9C2078
tetradic
#789C20 #209C82 #44209C #9C203A
square
#789C20 #209C82 #44209C #9C203A
split-complementary
#789C20 #203A9C #82209C
monochromatic
#2A360B #516916 #789C20 #9FCF2A #B7DD59

Accessibility & contrast

On white

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

On black

6.57
#789C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789C20
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789C20#FFFFFF#000000##000000
##789C201.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #789c20;
/* rgb */ color: rgb(120, 156, 32);
/* oklch */ color: oklch(64.3% 0.150 125.2);
Tailwind
colors: {
  custom: {
    50: '#a3b967',
    500: '#789c20',
    950: '#000000',
  },
}
SCSS
$custom: #789c20;
$custom-light: #a3b967;
$custom-dark: #000000;
JSON
{
  "hex": "#789c20",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 77.419,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64315,
    "c": 0.15021,
    "h": 125.2
  },
  "luminance": 0.27874
}

Semantic roles & 50–950 ramp

primary
#789C20
secondary
#7657C1
accent
#3FE970
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789C20

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

Preview Lab → · Contrast checker → · Palette generator →

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