#789C2F#789C2F

#789C2F is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.4% C 0.141 H 126.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#789C2F
RGBrgb(120, 156, 47)
HSLhsl(80, 54%, 40%)
HSVhsv(80, 70%, 61%)
CMYKcmyk(23.1%, 0%, 69.9%, 38.8%)
CIE-LABlab(59.87, -28.88, 50.58)
CIE-LCHlch(59.87, 58.25, 119.73°)
OKLaboklab(64.42% -0.083 0.1142)
OKLCHoklch(64.42% 0.141 126)
XYZxyz(20.1474, 27.9749, 7.0270)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789C2F #532F9C
analogous
#9C8A2F #789C2F #419C2F
triadic
#789C2F #2F789C #9C2F78
tetradic
#789C2F #2F9C8A #532F9C #9C2F41
square
#789C2F #2F9C8A #532F9C #9C2F41
split-complementary
#789C2F #2F419C #8A2F9C
monochromatic
#303E13 #546D21 #789C2F #9AC642 #B4D471

Accessibility & contrast

On white

3.18
#789C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#789C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789C2F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789C2F#FFFFFF#000000##000000
##789C2F1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4921E
Deuteranopia (green-blind)
#9F9038
Tritanopia (blue-blind)
#7D9586
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #789c2f;
/* rgb */ color: rgb(120, 156, 47);
/* oklch */ color: oklch(64.4% 0.141 126.0);
Tailwind
colors: {
  custom: {
    50: '#a2b96e',
    500: '#789c2f',
    950: '#000000',
  },
}
SCSS
$custom: #789c2f;
$custom-light: #a2b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#789c2f",
  "rgb": {
    "r": 120,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 79.817,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64419,
    "c": 0.14113,
    "h": 126
  },
  "luminance": 0.27975
}

Semantic roles & 50–950 ramp

primary
#789C2F
secondary
#866BBC
accent
#4BDD7B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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