#789F27#789F27

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

Color values

HEX#789F27
RGBrgb(120, 159, 39)
HSLhsl(80, 61%, 39%)
HSVhsv(80, 75%, 62%)
CMYKcmyk(24.5%, 0%, 75.5%, 37.6%)
CIE-LABlab(60.72, -30.81, 54.43)
CIE-LCHlch(60.72, 62.54, 119.51°)
OKLaboklab(65.1% -0.0889 0.121)
OKLCHoklch(65.1% 0.15 126.3)
XYZxyz(20.5102, 28.9355, 6.4236)
Luminance0.2894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F27 #4E279F
analogous
#9F8A27 #789F27 #3C9F27
triadic
#789F27 #27789F #9F2778
tetradic
#789F27 #279F8A #4E279F #9F273C
square
#789F27 #279F8A #4E279F #9F273C
split-complementary
#789F27 #273C9F #8A279F
monochromatic
#2E3D0F #536E1B #789F27 #9CCE36 #B4DA67

Accessibility & contrast

On white

3.09
#789F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#789F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789F27
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789F27#FFFFFF#000000##000000
##789F271.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #789f27;
/* rgb */ color: rgb(120, 159, 39);
/* oklch */ color: oklch(65.1% 0.150 126.3);
Tailwind
colors: {
  custom: {
    50: '#a3bb6a',
    500: '#789f27',
    950: '#000000',
  },
}
SCSS
$custom: #789f27;
$custom-light: #a3bb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#789f27",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 39
  },
  "hsl": {
    "h": 79.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65098,
    "c": 0.15013,
    "h": 126.3
  },
  "luminance": 0.28936
}

Semantic roles & 50–950 ramp

primary
#789F27
secondary
#8162C0
accent
#44E478
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #789F27

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

Preview Lab → · Contrast checker → · Palette generator →

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