#789E20#789E20

#789E20 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.8% C 0.153 H 125.7°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#789E20
RGBrgb(120, 158, 32)
HSLhsl(78, 66%, 37%)
HSVhsv(78, 80%, 62%)
CMYKcmyk(24.1%, 0%, 79.7%, 38%)
CIE-LABlab(60.38, -30.69, 56.39)
CIE-LCHlch(60.38, 64.20, 118.55°)
OKLaboklab(64.81% -0.0891 0.124)
OKLCHoklch(64.81% 0.153 125.7)
XYZxyz(20.2335, 28.5508, 5.8111)
Luminance0.2855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E20 #46209E
analogous
#9E8520 #789E20 #399E20
triadic
#789E20 #20789E #9E2078
tetradic
#789E20 #209E85 #46209E #9E2039
square
#789E20 #209E85 #46209E #9E2039
split-complementary
#789E20 #20399E #85209E
monochromatic
#2B380B #516B16 #789E20 #9FD12A #B6DE5B

Accessibility & contrast

On white

3.13
#789E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#789E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789E20
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789E20#FFFFFF#000000##000000
##789E201.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#7E9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789e20;
/* rgb */ color: rgb(120, 158, 32);
/* oklch */ color: oklch(64.8% 0.153 125.7);
Tailwind
colors: {
  custom: {
    50: '#a3ba67',
    500: '#789e20',
    950: '#000000',
  },
}
SCSS
$custom: #789e20;
$custom-light: #a3ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#789e20",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 78.095,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64809,
    "c": 0.15266,
    "h": 125.7
  },
  "luminance": 0.28551
}

Semantic roles & 50–950 ramp

primary
#789E20
secondary
#7858C2
accent
#3FE972
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #789E20

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

Preview Lab → · Contrast checker → · Palette generator →

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