#789D1E#789D1E

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

Color values

HEX#789D1E
RGBrgb(120, 157, 30)
HSLhsl(77, 68%, 37%)
HSVhsv(77, 81%, 62%)
CMYKcmyk(23.6%, 0%, 80.9%, 38.4%)
CIE-LABlab(60.07, -30.31, 56.71)
CIE-LCHlch(60.07, 64.30, 118.12°)
OKLaboklab(64.55% -0.0882 0.1243)
OKLCHoklch(64.55% 0.152 125.4)
XYZxyz(20.0372, 28.2005, 5.6156)
Luminance0.2820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D1E #431E9D
analogous
#9D831E #789D1E #399D1E
triadic
#789D1E #1E789D #9D1E78
tetradic
#789D1E #1E9D83 #431E9D #9D1E39
square
#789D1E #1E9D83 #431E9D #9D1E39
split-complementary
#789D1E #1E399D #831E9D
monochromatic
#29360A #516A14 #789D1E #9FD028 #B7DF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #789d1e;
/* rgb */ color: rgb(120, 157, 30);
/* oklch */ color: oklch(64.6% 0.152 125.4);
Tailwind
colors: {
  custom: {
    50: '#a3ba66',
    500: '#789d1e',
    950: '#000000',
  },
}
SCSS
$custom: #789d1e;
$custom-light: #a3ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#789d1e",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 77.48,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64551,
    "c": 0.15241,
    "h": 125.4
  },
  "luminance": 0.28201
}

Semantic roles & 50–950 ramp

primary
#789D1E
secondary
#7454C2
accent
#3DEB70
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #789D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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