#789F2A#789F2A

#789F2A is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.1% C 0.148 H 126.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#789F2A
RGBrgb(120, 159, 42)
HSLhsl(80, 58%, 39%)
HSVhsv(80, 74%, 62%)
CMYKcmyk(24.5%, 0%, 73.6%, 37.6%)
CIE-LABlab(60.74, -30.63, 53.37)
CIE-LCHlch(60.74, 61.54, 119.85°)
OKLaboklab(65.12% -0.0882 0.1192)
OKLCHoklch(65.12% 0.148 126.5)
XYZxyz(20.5619, 28.9562, 6.6958)
Luminance0.2896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F2A #512A9F
analogous
#9F8C2A #789F2A #3E9F2A
triadic
#789F2A #2A789F #9F2A78
tetradic
#789F2A #2A9F8C #512A9F #9F2A3E
square
#789F2A #2A9F8C #512A9F #9F2A3E
split-complementary
#789F2A #2A3E9F #8C2A9F
monochromatic
#2F3E10 #536F1D #789F2A #9BCB3B #B4D86B

Accessibility & contrast

On white

3.09
#789F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#789F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789F2A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789F2A#FFFFFF#000000##000000
##789F2A1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79414
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#7D9788
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789f2a;
/* rgb */ color: rgb(120, 159, 42);
/* oklch */ color: oklch(65.1% 0.148 126.5);
Tailwind
colors: {
  custom: {
    50: '#a2bb6c',
    500: '#789f2a',
    950: '#000000',
  },
}
SCSS
$custom: #789f2a;
$custom-light: #a2bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#789f2a",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 80,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65118,
    "c": 0.14831,
    "h": 126.5
  },
  "luminance": 0.28957
}

Semantic roles & 50–950 ramp

primary
#789F2A
secondary
#8466BF
accent
#46E17A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #789F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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