#789A3F#789A3F

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

Color values

HEX#789A3F
RGBrgb(120, 154, 63)
HSLhsl(82, 42%, 43%)
HSVhsv(82, 59%, 60%)
CMYKcmyk(22.1%, 0%, 59.1%, 39.6%)
CIE-LABlab(59.40, -26.63, 43.08)
CIE-LCHlch(59.40, 50.64, 121.72°)
OKLaboklab(64.09% -0.0752 0.1004)
OKLCHoklch(64.09% 0.125 126.8)
XYZxyz(20.1985, 27.4629, 8.9384)
Luminance0.2746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A3F #613F9A
analogous
#9A8F3F #789A3F #4A9A3F
triadic
#789A3F #3F789A #9A3F78
tetradic
#789A3F #3F9A8F #613F9A #9A3F4A
square
#789A3F #3F9A8F #613F9A #9A3F4A
split-complementary
#789A3F #3F4A9A #8F3F9A
monochromatic
#34431B #566F2D #789A3F #97BC5A #B3CD86

Accessibility & contrast

On white

3.23
#789A3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##789A3F#FFFFFF#000000##000000
##789A3F1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #789a3f;
/* rgb */ color: rgb(120, 154, 63);
/* oklch */ color: oklch(64.1% 0.125 126.8);
Tailwind
colors: {
  custom: {
    50: '#a1b877',
    500: '#789a3f',
    950: '#000000',
  },
}
SCSS
$custom: #789a3f;
$custom-light: #a1b877;
$custom-dark: #000000;
JSON
{
  "hex": "#789a3f",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 63
  },
  "hsl": {
    "h": 82.418,
    "s": 41.935,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64087,
    "c": 0.12546,
    "h": 126.8
  },
  "luminance": 0.27463
}

Semantic roles & 50–950 ramp

primary
#789A3F
secondary
#937DB8
accent
#56D284
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #789A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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