#789F2E#789F2E

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

Color values

HEX#789F2E
RGBrgb(120, 159, 46)
HSLhsl(81, 55%, 40%)
HSVhsv(81, 71%, 62%)
CMYKcmyk(24.5%, 0%, 71.1%, 37.6%)
CIE-LABlab(60.77, -30.38, 51.89)
CIE-LCHlch(60.77, 60.13, 120.35°)
OKLaboklab(65.15% -0.0872 0.1168)
OKLCHoklch(65.15% 0.146 126.7)
XYZxyz(20.6371, 28.9862, 7.0919)
Luminance0.2899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F2E #552E9F
analogous
#9F8D2E #789F2E #3F9F2E
triadic
#789F2E #2E789F #9F2E78
tetradic
#789F2E #2E9F8D #552E9F #9F2E3F
square
#789F2E #2E9F8D #552E9F #9F2E3F
split-complementary
#789F2E #2E3F9F #8D2E9F
monochromatic
#304013 #547020 #789F2E #9AC842 #B3D671

Accessibility & contrast

On white

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

On black

6.80
#789F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789F2E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789F2E#FFFFFF#000000##000000
##789F2E1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941C
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#7D9889
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #789f2e;
/* rgb */ color: rgb(120, 159, 46);
/* oklch */ color: oklch(65.1% 0.146 126.7);
Tailwind
colors: {
  custom: {
    50: '#a2bb6e',
    500: '#789f2e',
    950: '#000000',
  },
}
SCSS
$custom: #789f2e;
$custom-light: #a2bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#789f2e",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 80.708,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65148,
    "c": 0.1457,
    "h": 126.7
  },
  "luminance": 0.28987
}

Semantic roles & 50–950 ramp

primary
#789F2E
secondary
#886BBE
accent
#49DE7D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #789F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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