#789A3D#789A3D

#789A3D is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.1% C 0.127 H 126.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#789A3D
RGBrgb(120, 154, 61)
HSLhsl(82, 43%, 42%)
HSVhsv(82, 60%, 60%)
CMYKcmyk(22.1%, 0%, 60.4%, 39.6%)
CIE-LABlab(59.38, -26.81, 43.99)
CIE-LCHlch(59.38, 51.52, 121.36°)
OKLaboklab(64.06% -0.0759 0.1021)
OKLCHoklch(64.06% 0.127 126.6)
XYZxyz(20.1436, 27.4409, 8.6493)
Luminance0.2744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A3D #5F3D9A
analogous
#9A8D3D #789A3D #4A9A3D
triadic
#789A3D #3D789A #9A3D78
tetradic
#789A3D #3D9A8D #5F3D9A #9A3D4A
square
#789A3D #3D9A8D #5F3D9A #9A3D4A
split-complementary
#789A3D #3D4A9A #8D3D9A
monochromatic
#34421A #566E2C #789A3D #98BD58 #B3CE83

Accessibility & contrast

On white

3.24
#789A3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#789A3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789A3D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789A3D#FFFFFF#000000##000000
##789A3D1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29033
Deuteranopia (green-blind)
#9D8E43
Tritanopia (blue-blind)
#7C9386
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789a3d;
/* rgb */ color: rgb(120, 154, 61);
/* oklch */ color: oklch(64.1% 0.127 126.6);
Tailwind
colors: {
  custom: {
    50: '#a1b876',
    500: '#789a3d',
    950: '#000000',
  },
}
SCSS
$custom: #789a3d;
$custom-light: #a1b876;
$custom-dark: #000000;
JSON
{
  "hex": "#789a3d",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 61
  },
  "hsl": {
    "h": 81.935,
    "s": 43.256,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64064,
    "c": 0.12726,
    "h": 126.6
  },
  "luminance": 0.27441
}

Semantic roles & 50–950 ramp

primary
#789A3D
secondary
#917BB8
accent
#55D383
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #789A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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