#789D2B#789D2B

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

Color values

HEX#789D2B
RGBrgb(120, 157, 43)
HSLhsl(79, 57%, 39%)
HSVhsv(79, 73%, 62%)
CMYKcmyk(23.6%, 0%, 72.6%, 38.4%)
CIE-LABlab(60.14, -29.62, 52.41)
CIE-LCHlch(60.14, 60.20, 119.48°)
OKLaboklab(64.63% -0.0853 0.1174)
OKLCHoklch(64.63% 0.145 126)
XYZxyz(20.2388, 28.2811, 6.6776)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D2B #502B9D
analogous
#9D892B #789D2B #3F9D2B
triadic
#789D2B #2B789D #9D2B78
tetradic
#789D2B #2B9D89 #502B9D #9D2B3F
square
#789D2B #2B9D89 #502B9D #9D2B3F
split-complementary
#789D2B #2B3F9D #892B9D
monochromatic
#2F3D11 #536D1E #789D2B #9BCA3C #B4D76C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789D2B#FFFFFF#000000##000000
##789D2B1.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)
#A59217
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#7D9587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d2b;
/* rgb */ color: rgb(120, 157, 43);
/* oklch */ color: oklch(64.6% 0.145 126.0);
Tailwind
colors: {
  custom: {
    50: '#a2ba6c',
    500: '#789d2b',
    950: '#000000',
  },
}
SCSS
$custom: #789d2b;
$custom-light: #a2ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#789d2b",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 79.474,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64633,
    "c": 0.14512,
    "h": 126
  },
  "luminance": 0.28281
}

Semantic roles & 50–950 ramp

primary
#789D2B
secondary
#8366BD
accent
#48E079
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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