#789D27#789D27

#789D27 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.6% C 0.148 H 125.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#789D27
RGBrgb(120, 157, 39)
HSLhsl(79, 60%, 38%)
HSVhsv(79, 75%, 62%)
CMYKcmyk(23.6%, 0%, 75.2%, 38.4%)
CIE-LABlab(60.12, -29.86, 53.84)
CIE-LCHlch(60.12, 61.57, 119.01°)
OKLaboklab(64.61% -0.0863 0.1197)
OKLCHoklch(64.61% 0.148 125.8)
XYZxyz(20.1690, 28.2532, 6.3099)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D27 #4C279D
analogous
#9D8727 #789D27 #3D9D27
triadic
#789D27 #27789D #9D2778
tetradic
#789D27 #279D87 #4C279D #9D273D
square
#789D27 #279D87 #4C279D #9D273D
split-complementary
#789D27 #273D9D #87279D
monochromatic
#2D3B0F #536C1B #789D27 #9DCD35 #B5D966

Accessibility & contrast

On white

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

On black

6.65
#789D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D27
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D27#FFFFFF#000000##000000
##789D271.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920E
Deuteranopia (green-blind)
#A19032
Tritanopia (blue-blind)
#7D9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d27;
/* rgb */ color: rgb(120, 157, 39);
/* oklch */ color: oklch(64.6% 0.148 125.8);
Tailwind
colors: {
  custom: {
    50: '#a3ba6a',
    500: '#789d27',
    950: '#000000',
  },
}
SCSS
$custom: #789d27;
$custom-light: #a3ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#789d27",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 78.814,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64605,
    "c": 0.14761,
    "h": 125.8
  },
  "luminance": 0.28253
}

Semantic roles & 50–950 ramp

primary
#789D27
secondary
#7E61BF
accent
#44E376
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789D27

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

Preview Lab → · Contrast checker → · Palette generator →

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