#789A2D#789A2D

#789A2D is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.9% C 0.140 H 125.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#789A2D
RGBrgb(120, 154, 45)
HSLhsl(79, 55%, 39%)
HSVhsv(79, 71%, 60%)
CMYKcmyk(22.1%, 0%, 70.8%, 39.6%)
CIE-LABlab(59.24, -28.06, 50.74)
CIE-LCHlch(59.24, 57.98, 118.94°)
OKLaboklab(63.91% -0.0809 0.1142)
OKLCHoklch(63.91% 0.14 125.3)
XYZxyz(19.7751, 27.2935, 6.7085)
Luminance0.2729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A2D #4F2D9A
analogous
#9A862D #789A2D #419A2D
triadic
#789A2D #2D789A #9A2D78
tetradic
#789A2D #2D9A86 #4F2D9A #9A2D41
square
#789A2D #2D9A86 #4F2D9A #9A2D41
split-complementary
#789A2D #2D419A #862D9A
monochromatic
#2E3B11 #536B1F #789A2D #9CC73E #B4D46D

Accessibility & contrast

On white

3.25
#789A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#789A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789A2D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789A2D#FFFFFF#000000##000000
##789A2D1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2901C
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#7D9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789a2d;
/* rgb */ color: rgb(120, 154, 45);
/* oklch */ color: oklch(63.9% 0.140 125.3);
Tailwind
colors: {
  custom: {
    50: '#a2b86d',
    500: '#789a2d',
    950: '#000000',
  },
}
SCSS
$custom: #789a2d;
$custom-light: #a2b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#789a2d",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 78.716,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63911,
    "c": 0.13992,
    "h": 125.3
  },
  "luminance": 0.27294
}

Semantic roles & 50–950 ramp

primary
#789A2D
secondary
#8267BB
accent
#4ADE78
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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