#789F20#789F20

#789F20 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.1% C 0.154 H 126.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#789F20
RGBrgb(120, 159, 32)
HSLhsl(78, 66%, 37%)
HSVhsv(78, 80%, 62%)
CMYKcmyk(24.5%, 0%, 79.9%, 37.6%)
CIE-LABlab(60.69, -31.16, 56.67)
CIE-LCHlch(60.69, 64.68, 118.80°)
OKLaboklab(65.05% -0.0904 0.1245)
OKLCHoklch(65.05% 0.154 126)
XYZxyz(20.4047, 28.8933, 5.8682)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F20 #47209F
analogous
#9F8620 #789F20 #399F20
triadic
#789F20 #20789F #9F2078
tetradic
#789F20 #209F86 #47209F #9F2039
square
#789F20 #209F86 #47209F #9F2039
split-complementary
#789F20 #20399F #86209F
monochromatic
#2B390B #526C16 #789F20 #9ED22A #B6DE5B

Accessibility & contrast

On white

3.10
#789F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#789F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789F20
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789F20#FFFFFF#000000##000000
##789F201.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A3922D
Tritanopia (blue-blind)
#7D9788
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789f20;
/* rgb */ color: rgb(120, 159, 32);
/* oklch */ color: oklch(65.1% 0.154 126.0);
Tailwind
colors: {
  custom: {
    50: '#a3bb67',
    500: '#789f20',
    950: '#000000',
  },
}
SCSS
$custom: #789f20;
$custom-light: #a3bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#789f20",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 78.425,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65055,
    "c": 0.15389,
    "h": 126
  },
  "luminance": 0.28894
}

Semantic roles & 50–950 ramp

primary
#789F20
secondary
#7959C2
accent
#3EE973
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #789F20

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

Preview Lab → · Contrast checker → · Palette generator →

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