#789342#789342

#789342 is a light, moderate yellow-green. Relative luminance 0.253; OKLCH L 62.4% C 0.113 H 124.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#789342
RGBrgb(120, 147, 66)
HSLhsl(80, 38%, 42%)
HSVhsv(80, 55%, 58%)
CMYKcmyk(18.4%, 0%, 55.1%, 42.4%)
CIE-LABlab(57.32, -22.86, 39.24)
CIE-LCHlch(57.32, 45.41, 120.22°)
OKLaboklab(62.42% -0.0645 0.0924)
OKLCHoklch(62.42% 0.113 124.9)
XYZxyz(19.1628, 25.2537, 9.0181)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789342 #5D4293
analogous
#938642 #789342 #509342
triadic
#789342 #427893 #934278
tetradic
#789342 #429386 #5D4293 #934250
square
#789342 #429386 #5D4293 #934250
split-complementary
#789342 #425093 #864293
monochromatic
#333F1C #56692F #789342 #98B65C #B3C987

Accessibility & contrast

On white

3.47
#789342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#789342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789342
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789342#FFFFFF#000000##000000
##7893421.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B3A
Deuteranopia (green-blind)
#978947
Tritanopia (blue-blind)
#7D8D81
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #789342;
/* rgb */ color: rgb(120, 147, 66);
/* oklch */ color: oklch(62.4% 0.113 124.9);
Tailwind
colors: {
  custom: {
    50: '#a1b279',
    500: '#789342',
    950: '#000000',
  },
}
SCSS
$custom: #789342;
$custom-light: #a1b279;
$custom-dark: #000000;
JSON
{
  "hex": "#789342",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 66
  },
  "hsl": {
    "h": 80,
    "s": 38.028,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6242,
    "c": 0.1127,
    "h": 124.9
  },
  "luminance": 0.25254
}

Semantic roles & 50–950 ramp

primary
#789342
secondary
#8F7DB4
accent
#5ACE81
background
#FAFBF7
surface
#F3F6ED
border
#CDD0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #789342

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

Preview Lab → · Contrast checker → · Palette generator →

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