#789940#789940

#789940 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.9% C 0.123 H 126.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#789940
RGBrgb(120, 153, 64)
HSLhsl(82, 41%, 43%)
HSVhsv(82, 58%, 60%)
CMYKcmyk(21.6%, 0%, 58.2%, 40%)
CIE-LABlab(59.11, -26.04, 42.27)
CIE-LCHlch(59.11, 49.65, 121.63°)
OKLaboklab(63.85% -0.0735 0.0988)
OKLCHoklch(63.85% 0.123 126.7)
XYZxyz(20.0624, 27.1454, 9.0321)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789940 #614099
analogous
#998D40 #789940 #4C9940
triadic
#789940 #407899 #994078
tetradic
#789940 #40998D #614099 #99404C
square
#789940 #40998D #614099 #99404C
split-complementary
#789940 #404C99 #8D4099
monochromatic
#34431C #566E2E #789940 #97BB5C #B3CD87

Accessibility & contrast

On white

3.27
#789940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#789940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789940
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789940#FFFFFF#000000##000000
##7899401.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09037
Deuteranopia (green-blind)
#9C8E46
Tritanopia (blue-blind)
#7C9286
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789940;
/* rgb */ color: rgb(120, 153, 64);
/* oklch */ color: oklch(63.9% 0.123 126.7);
Tailwind
colors: {
  custom: {
    50: '#a1b778',
    500: '#789940',
    950: '#000000',
  },
}
SCSS
$custom: #789940;
$custom-light: #a1b778;
$custom-dark: #000000;
JSON
{
  "hex": "#789940",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 82.247,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.63854,
    "c": 0.12314,
    "h": 126.7
  },
  "luminance": 0.27146
}

Semantic roles & 50–950 ramp

primary
#789940
secondary
#937EB7
accent
#57D184
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #789940

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

Preview Lab → · Contrast checker → · Palette generator →

#789940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva