#789F2F#789F2F

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

Color values

HEX#789F2F
RGBrgb(120, 159, 47)
HSLhsl(81, 54%, 40%)
HSVhsv(81, 70%, 62%)
CMYKcmyk(24.5%, 0%, 70.4%, 37.6%)
CIE-LABlab(60.78, -30.32, 51.51)
CIE-LCHlch(60.78, 59.77, 120.48°)
OKLaboklab(65.16% -0.0869 0.1161)
OKLCHoklch(65.16% 0.145 126.8)
XYZxyz(20.6570, 28.9942, 7.1969)
Luminance0.2899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F2F #562F9F
analogous
#9F8E2F #789F2F #409F2F
triadic
#789F2F #2F789F #9F2F78
tetradic
#789F2F #2F9F8E #562F9F #9F2F40
square
#789F2F #2F9F8E #562F9F #9F2F40
split-complementary
#789F2F #2F409F #8E2F9F
monochromatic
#314113 #547021 #789F2F #9AC844 #B3D673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789F2F#FFFFFF#000000##000000
##789F2F1.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)
#A7941D
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#7D9889
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #789f2f;
/* rgb */ color: rgb(120, 159, 47);
/* oklch */ color: oklch(65.2% 0.145 126.8);
Tailwind
colors: {
  custom: {
    50: '#a2bb6e',
    500: '#789f2f',
    950: '#000000',
  },
}
SCSS
$custom: #789f2f;
$custom-light: #a2bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#789f2f",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 80.893,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65156,
    "c": 0.14502,
    "h": 126.8
  },
  "luminance": 0.28995
}

Semantic roles & 50–950 ramp

primary
#789F2F
secondary
#896DBD
accent
#4ADE7D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #789F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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