#789D2C#789D2C

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

Color values

HEX#789D2C
RGBrgb(120, 157, 44)
HSLhsl(80, 56%, 39%)
HSVhsv(80, 72%, 62%)
CMYKcmyk(23.6%, 0%, 72%, 38.4%)
CIE-LABlab(60.15, -29.56, 52.04)
CIE-LCHlch(60.15, 59.85, 119.60°)
OKLaboklab(64.64% -0.0851 0.1168)
OKLCHoklch(64.64% 0.144 126.1)
XYZxyz(20.2574, 28.2886, 6.7754)
Luminance0.2829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D2C #512C9D
analogous
#9D8A2C #789D2C #409D2C
triadic
#789D2C #2C789D #9D2C78
tetradic
#789D2C #2C9D8A #512C9D #9D2C40
square
#789D2C #2C9D8A #512C9D #9D2C40
split-complementary
#789D2C #2C409D #8A2C9D
monochromatic
#2F3D11 #536D1F #789D2C #9BC93D #B4D66D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789D2C#FFFFFF#000000##000000
##789D2C1.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)
#A59219
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#7D9687
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d2c;
/* rgb */ color: rgb(120, 157, 44);
/* oklch */ color: oklch(64.6% 0.144 126.1);
Tailwind
colors: {
  custom: {
    50: '#a2ba6d',
    500: '#789d2c',
    950: '#000000',
  },
}
SCSS
$custom: #789d2c;
$custom-light: #a2ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#789d2c",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 79.646,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64641,
    "c": 0.14447,
    "h": 126.1
  },
  "luminance": 0.28289
}

Semantic roles & 50–950 ramp

primary
#789D2C
secondary
#8468BD
accent
#48E07A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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