#789D2F#789D2F

#789D2F is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.7% C 0.142 H 126.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#789D2F
RGBrgb(120, 157, 47)
HSLhsl(80, 54%, 40%)
HSVhsv(80, 70%, 62%)
CMYKcmyk(23.6%, 0%, 70.1%, 38.4%)
CIE-LABlab(60.17, -29.36, 50.89)
CIE-LCHlch(60.17, 58.75, 119.99°)
OKLaboklab(64.66% -0.0843 0.1148)
OKLCHoklch(64.66% 0.142 126.3)
XYZxyz(20.3159, 28.3119, 7.0832)
Luminance0.2831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D2F #542F9D
analogous
#9D8B2F #789D2F #419D2F
triadic
#789D2F #2F789D #9D2F78
tetradic
#789D2F #2F9D8B #542F9D #9D2F41
square
#789D2F #2F9D8B #542F9D #9D2F41
split-complementary
#789D2F #2F419D #8B2F9D
monochromatic
#303F13 #546E21 #789D2F #9AC743 #B3D572

Accessibility & contrast

On white

3.15
#789D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#789D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D2F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D2F#FFFFFF#000000##000000
##789D2F1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921E
Deuteranopia (green-blind)
#A09038
Tritanopia (blue-blind)
#7D9687
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d2f;
/* rgb */ color: rgb(120, 157, 47);
/* oklch */ color: oklch(64.7% 0.142 126.3);
Tailwind
colors: {
  custom: {
    50: '#a2ba6e',
    500: '#789d2f',
    950: '#000000',
  },
}
SCSS
$custom: #789d2f;
$custom-light: #a2ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#789d2f",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 80.182,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.64664,
    "c": 0.14243,
    "h": 126.3
  },
  "luminance": 0.28312
}

Semantic roles & 50–950 ramp

primary
#789D2F
secondary
#876BBC
accent
#4BDD7C
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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