#789B1E#789B1E

#789B1E is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.1% C 0.150 H 124.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#789B1E
RGBrgb(120, 155, 30)
HSLhsl(77, 68%, 36%)
HSVhsv(77, 81%, 61%)
CMYKcmyk(22.6%, 0%, 80.6%, 39.2%)
CIE-LABlab(59.46, -29.35, 56.16)
CIE-LCHlch(59.46, 63.37, 117.60°)
OKLaboklab(64.06% -0.0856 0.1231)
OKLCHoklch(64.06% 0.15 124.8)
XYZxyz(19.7016, 27.5293, 5.5038)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B1E #411E9B
analogous
#9B801E #789B1E #3A9B1E
triadic
#789B1E #1E789B #9B1E78
tetradic
#789B1E #1E9B80 #411E9B #9B1E3A
square
#789B1E #1E9B80 #411E9B #9B1E3A
split-complementary
#789B1E #1E3A9B #801E9B
monochromatic
#29340A #506814 #789B1E #A0CE28 #B8DE55

Accessibility & contrast

On white

3.23
#789B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#789B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789B1E
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789B1E#FFFFFF#000000##000000
##789B1E1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9F8F2B
Tritanopia (blue-blind)
#7E9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789b1e;
/* rgb */ color: rgb(120, 155, 30);
/* oklch */ color: oklch(64.1% 0.150 124.8);
Tailwind
colors: {
  custom: {
    50: '#a3b866',
    500: '#789b1e',
    950: '#000000',
  },
}
SCSS
$custom: #789b1e;
$custom-light: #a3b866;
$custom-dark: #000000;
JSON
{
  "hex": "#789b1e",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 30
  },
  "hsl": {
    "h": 76.8,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64058,
    "c": 0.14996,
    "h": 124.8
  },
  "luminance": 0.27529
}

Semantic roles & 50–950 ramp

primary
#789B1E
secondary
#7253C2
accent
#3DEA6E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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