#789B2A#789B2A

#789B2A is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.1% C 0.143 H 125.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#789B2A
RGBrgb(120, 155, 42)
HSLhsl(79, 57%, 39%)
HSVhsv(79, 73%, 61%)
CMYKcmyk(22.6%, 0%, 72.9%, 39.2%)
CIE-LABlab(59.53, -28.73, 52.17)
CIE-LCHlch(59.53, 59.56, 118.84°)
OKLaboklab(64.13% -0.083 0.1167)
OKLCHoklch(64.13% 0.143 125.4)
XYZxyz(19.8851, 27.6027, 6.4703)
Luminance0.2760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B2A #4D2A9B
analogous
#9B852A #789B2A #3F9B2A
triadic
#789B2A #2A789B #9B2A78
tetradic
#789B2A #2A9B85 #4D2A9B #9B2A3F
square
#789B2A #2A9B85 #4D2A9B #9B2A3F
split-complementary
#789B2A #2A3F9B #852A9B
monochromatic
#2D3B10 #536B1D #789B2A #9DC939 #B5D669

Accessibility & contrast

On white

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

On black

6.52
#789B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789B2A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789B2A#FFFFFF#000000##000000
##789B2A1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49116
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#7D9385
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789b2a;
/* rgb */ color: rgb(120, 155, 42);
/* oklch */ color: oklch(64.1% 0.143 125.4);
Tailwind
colors: {
  custom: {
    50: '#a2b86b',
    500: '#789b2a',
    950: '#000000',
  },
}
SCSS
$custom: #789b2a;
$custom-light: #a2b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#789b2a",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 78.584,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64134,
    "c": 0.14321,
    "h": 125.4
  },
  "luminance": 0.27603
}

Semantic roles & 50–950 ramp

primary
#789B2A
secondary
#7F64BD
accent
#47E177
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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