#789C1E#789C1E

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

Color values

HEX#789C1E
RGBrgb(120, 156, 30)
HSLhsl(77, 68%, 36%)
HSVhsv(77, 81%, 61%)
CMYKcmyk(23.1%, 0%, 80.8%, 38.8%)
CIE-LABlab(59.77, -29.83, 56.43)
CIE-LCHlch(59.77, 63.83, 117.86°)
OKLaboklab(64.31% -0.0869 0.1237)
OKLCHoklch(64.31% 0.151 125.1)
XYZxyz(19.8687, 27.8635, 5.5595)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789C1E #421E9C
analogous
#9C811E #789C1E #399C1E
triadic
#789C1E #1E789C #9C1E78
tetradic
#789C1E #1E9C81 #421E9C #9C1E39
square
#789C1E #1E9C81 #421E9C #9C1E39
split-complementary
#789C1E #1E399C #811E9C
monochromatic
#29350A #516914 #789C1E #9FCF28 #B7DE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789C1E#FFFFFF#000000##000000
##789C1E1.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)
#A0902B
Tritanopia (blue-blind)
#7E9485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #789c1e;
/* rgb */ color: rgb(120, 156, 30);
/* oklch */ color: oklch(64.3% 0.151 125.1);
Tailwind
colors: {
  custom: {
    50: '#a3b966',
    500: '#789c1e',
    950: '#000000',
  },
}
SCSS
$custom: #789c1e;
$custom-light: #a3b966;
$custom-dark: #000000;
JSON
{
  "hex": "#789c1e",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 30
  },
  "hsl": {
    "h": 77.143,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64305,
    "c": 0.15119,
    "h": 125.1
  },
  "luminance": 0.27864
}

Semantic roles & 50–950 ramp

primary
#789C1E
secondary
#7354C2
accent
#3DEB6F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #789C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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