#789E2A#789E2A

#789E2A is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.9% C 0.147 H 126.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#789E2A
RGBrgb(120, 158, 42)
HSLhsl(80, 58%, 39%)
HSVhsv(80, 73%, 62%)
CMYKcmyk(24.1%, 0%, 73.4%, 38%)
CIE-LABlab(60.44, -30.16, 53.07)
CIE-LCHlch(60.44, 61.04, 119.61°)
OKLaboklab(64.87% -0.0869 0.1186)
OKLCHoklch(64.87% 0.147 126.2)
XYZxyz(20.3906, 28.6136, 6.6388)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E2A #502A9E
analogous
#9E8A2A #789E2A #3E9E2A
triadic
#789E2A #2A789E #9E2A78
tetradic
#789E2A #2A9E8A #502A9E #9E2A3E
square
#789E2A #2A9E8A #502A9E #9E2A3E
split-complementary
#789E2A #2A3E9E #8A2A9E
monochromatic
#2F3D10 #536E1D #789E2A #9BCB3A #B4D86B

Accessibility & contrast

On white

3.12
#789E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#789E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789E2A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789E2A#FFFFFF#000000##000000
##789E2A1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69314
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#7D9688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789e2a;
/* rgb */ color: rgb(120, 158, 42);
/* oklch */ color: oklch(64.9% 0.147 126.2);
Tailwind
colors: {
  custom: {
    50: '#a2ba6c',
    500: '#789e2a',
    950: '#000000',
  },
}
SCSS
$custom: #789e2a;
$custom-light: #a2ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#789e2a",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 79.655,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64872,
    "c": 0.14704,
    "h": 126.2
  },
  "luminance": 0.28614
}

Semantic roles & 50–950 ramp

primary
#789E2A
secondary
#8366BE
accent
#47E179
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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