#789B2F#789B2F

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

Color values

HEX#789B2F
RGBrgb(120, 155, 47)
HSLhsl(79, 53%, 40%)
HSVhsv(79, 70%, 61%)
CMYKcmyk(22.6%, 0%, 69.7%, 39.2%)
CIE-LABlab(59.56, -28.40, 50.27)
CIE-LCHlch(59.56, 57.74, 119.47°)
OKLaboklab(64.17% -0.0816 0.1135)
OKLCHoklch(64.17% 0.14 125.7)
XYZxyz(19.9803, 27.6407, 6.9713)
Luminance0.2764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B2F #522F9B
analogous
#9B882F #789B2F #429B2F
triadic
#789B2F #2F789B #9B2F78
tetradic
#789B2F #2F9B88 #522F9B #9B2F42
square
#789B2F #2F9B88 #522F9B #9B2F42
split-complementary
#789B2F #2F429B #882F9B
monochromatic
#2F3D13 #546C21 #789B2F #9BC642 #B4D471

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789B2F#FFFFFF#000000##000000
##789B2F1.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)
#A3911F
Deuteranopia (green-blind)
#9F8F38
Tritanopia (blue-blind)
#7D9485
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789b2f;
/* rgb */ color: rgb(120, 155, 47);
/* oklch */ color: oklch(64.2% 0.140 125.7);
Tailwind
colors: {
  custom: {
    50: '#a2b86e',
    500: '#789b2f',
    950: '#000000',
  },
}
SCSS
$custom: #789b2f;
$custom-light: #a2b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#789b2f",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 79.444,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64173,
    "c": 0.13982,
    "h": 125.7
  },
  "luminance": 0.27641
}

Semantic roles & 50–950 ramp

primary
#789B2F
secondary
#856ABB
accent
#4BDD7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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