#789D20#789D20

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

Color values

HEX#789D20
RGBrgb(120, 157, 32)
HSLhsl(78, 66%, 37%)
HSVhsv(78, 80%, 62%)
CMYKcmyk(23.6%, 0%, 79.6%, 38.4%)
CIE-LABlab(60.08, -30.22, 56.12)
CIE-LCHlch(60.08, 63.73, 118.30°)
OKLaboklab(64.56% -0.0878 0.1234)
OKLCHoklch(64.56% 0.151 125.5)
XYZxyz(20.0636, 28.2110, 5.7545)
Luminance0.2821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D20 #45209D
analogous
#9D8420 #789D20 #3A9D20
triadic
#789D20 #20789D #9D2078
tetradic
#789D20 #209D84 #45209D #9D203A
square
#789D20 #209D84 #45209D #9D203A
split-complementary
#789D20 #203A9D #84209D
monochromatic
#2A370B #516A16 #789D20 #9FD02A #B6DD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789D20#FFFFFF#000000##000000
##789D201.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)
#A1902D
Tritanopia (blue-blind)
#7E9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d20;
/* rgb */ color: rgb(120, 157, 32);
/* oklch */ color: oklch(64.6% 0.151 125.5);
Tailwind
colors: {
  custom: {
    50: '#a3ba67',
    500: '#789d20',
    950: '#000000',
  },
}
SCSS
$custom: #789d20;
$custom-light: #a3ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#789d20",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 77.76,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64562,
    "c": 0.15143,
    "h": 125.5
  },
  "luminance": 0.28211
}

Semantic roles & 50–950 ramp

primary
#789D20
secondary
#7757C1
accent
#3FE971
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789D20

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

Preview Lab → · Contrast checker → · Palette generator →

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