#789C1D#789C1D

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

Color values

HEX#789C1D
RGBrgb(120, 156, 29)
HSLhsl(77, 69%, 36%)
HSVhsv(77, 81%, 61%)
CMYKcmyk(23.1%, 0%, 81.4%, 38.8%)
CIE-LABlab(59.76, -29.87, 56.72)
CIE-LCHlch(59.76, 64.11, 117.78°)
OKLaboklab(64.3% -0.0871 0.1241)
OKLCHoklch(64.3% 0.152 125.1)
XYZxyz(19.8562, 27.8585, 5.4933)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789C1D #411D9C
analogous
#9C811D #789C1D #399C1D
triadic
#789C1D #1D789C #9C1D78
tetradic
#789C1D #1D9C81 #411D9C #9C1D39
square
#789C1D #1D9C81 #411D9C #9C1D39
split-complementary
#789C1D #1D399C #811D9C
monochromatic
#29350A #506813 #789C1D #A0D027 #B8DF54

Accessibility & contrast

On white

3.20
#789C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##789C1D#FFFFFF#000000##000000
##789C1D1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#7E9485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #789c1d;
/* rgb */ color: rgb(120, 156, 29);
/* oklch */ color: oklch(64.3% 0.152 125.1);
Tailwind
colors: {
  custom: {
    50: '#a3b965',
    500: '#789c1d',
    950: '#000000',
  },
}
SCSS
$custom: #789c1d;
$custom-light: #a3b965;
$custom-dark: #000000;
JSON
{
  "hex": "#789c1d",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 77.008,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.643,
    "c": 0.15166,
    "h": 125.1
  },
  "luminance": 0.27859
}

Semantic roles & 50–950 ramp

primary
#789C1D
secondary
#7252C2
accent
#3CEB6E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #789C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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