#789E2F#789E2F

#789E2F is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 64.9% C 0.144 H 126.5°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#789E2F
RGBrgb(120, 158, 47)
HSLhsl(81, 54%, 40%)
HSVhsv(81, 70%, 62%)
CMYKcmyk(24.1%, 0%, 70.3%, 38%)
CIE-LABlab(60.47, -29.84, 51.20)
CIE-LCHlch(60.47, 59.26, 120.24°)
OKLaboklab(64.91% -0.0856 0.1155)
OKLCHoklch(64.91% 0.144 126.5)
XYZxyz(20.4857, 28.6517, 7.1398)
Luminance0.2865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E2F #552F9E
analogous
#9E8D2F #789E2F #409E2F
triadic
#789E2F #2F789E #9E2F78
tetradic
#789E2F #2F9E8D #552F9E #9E2F40
square
#789E2F #2F9E8D #552F9E #9E2F40
split-complementary
#789E2F #2F409E #8D2F9E
monochromatic
#304013 #546F21 #789E2F #9AC743 #B3D572

Accessibility & contrast

On white

3.12
#789E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#789E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789E2F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789E2F#FFFFFF#000000##000000
##789E2F1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #789e2f;
/* rgb */ color: rgb(120, 158, 47);
/* oklch */ color: oklch(64.9% 0.144 126.5);
Tailwind
colors: {
  custom: {
    50: '#a2ba6e',
    500: '#789e2f',
    950: '#000000',
  },
}
SCSS
$custom: #789e2f;
$custom-light: #a2ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#789e2f",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 80.541,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6491,
    "c": 0.14373,
    "h": 126.5
  },
  "luminance": 0.28652
}

Semantic roles & 50–950 ramp

primary
#789E2F
secondary
#886CBD
accent
#4ADE7D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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