#789B2E#789B2E

#789B2E is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.2% C 0.141 H 125.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#789B2E
RGBrgb(120, 155, 46)
HSLhsl(79, 54%, 39%)
HSVhsv(79, 70%, 61%)
CMYKcmyk(22.6%, 0%, 70.3%, 39.2%)
CIE-LABlab(59.56, -28.47, 50.66)
CIE-LCHlch(59.56, 58.11, 119.34°)
OKLaboklab(64.17% -0.0819 0.1142)
OKLCHoklch(64.17% 0.141 125.7)
XYZxyz(19.9603, 27.6328, 6.8663)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B2E #512E9B
analogous
#9B882E #789B2E #429B2E
triadic
#789B2E #2E789B #9B2E78
tetradic
#789B2E #2E9B88 #512E9B #9B2E42
square
#789B2E #2E9B88 #512E9B #9B2E42
split-complementary
#789B2E #2E429B #882E9B
monochromatic
#2F3D12 #536C20 #789B2E #9BC640 #B4D46F

Accessibility & contrast

On white

3.22
#789B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#789B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789B2E
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789B2E#FFFFFF#000000##000000
##789B2E1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911D
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#7D9485
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789b2e;
/* rgb */ color: rgb(120, 155, 46);
/* oklch */ color: oklch(64.2% 0.141 125.7);
Tailwind
colors: {
  custom: {
    50: '#a2b86d',
    500: '#789b2e',
    950: '#000000',
  },
}
SCSS
$custom: #789b2e;
$custom-light: #a2b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#789b2e",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 79.266,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64165,
    "c": 0.14052,
    "h": 125.7
  },
  "luminance": 0.27633
}

Semantic roles & 50–950 ramp

primary
#789B2E
secondary
#8469BC
accent
#4ADE7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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